]> gitweb.factorcode.org Git - factor.git/commitdiff
ui.gadgets.tests: fix the test (layout-queue is a vector now)
authorBjörn Lindqvist <bjourne@gmail.com>
Fri, 16 Oct 2015 20:28:31 +0000 (22:28 +0200)
committerBjörn Lindqvist <bjourne@gmail.com>
Fri, 16 Oct 2015 20:28:31 +0000 (22:28 +0200)
basis/ui/gadgets/gadgets-tests.factor

index 9b5da69c718c2898c48885e3893ada300291f8e6..a7005e99ad5d6e4a456e4378c9ad0e1048345599 100644 (file)
@@ -1,7 +1,7 @@
 USING: accessors arrays assocs concurrency.flags deques dlists io
 io.streams.string kernel math math.parser math.rectangles models
 namespaces prettyprint sequences sets threads tools.test ui ui.gadgets
-ui.gadgets.private ;
+ui.gadgets.private ui.private ;
 IN: ui.gadgets.tests
 
 { { 300 300 } }
@@ -157,8 +157,8 @@ M: mock-gadget ungraft*
 
 ui-running? [
     { f } [
+        init-ui
         ! Initially lowered
-        <dlist> \ layout-queue set-global
         <flag> ui-notify-flag set-global
 
         [ fake-ui-loop ] "Fake UI" spawn drop