]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/persistent/heaps/heaps-tests.factor
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
[factor.git] / basis / persistent / heaps / heaps-tests.factor
index 3a1f910532cfcf07e83806fa219899818ea1d4dc..f45b9af334494c89989d39258e475c46d1670d3e 100644 (file)
@@ -5,7 +5,7 @@ CONSTANT: test-input
     { { "hello" 3 } { "goodbye" 2 } { "whatever" 5 }
       { "foo" 1 } { "bar" -1 } { "baz" -7 } { "bing" 0 } }
 
-[
+{
     { { "baz" -7 } { "bar" -1 } { "bing" 0 } { "foo" 1 }
       { "goodbye" 2 } { "hello" 3 } { "whatever" 5 } }
-] [ test-input assoc>pheap pheap>alist ] unit-test
+} [ test-input assoc>pheap pheap>alist ] unit-test