]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/eval/eval-tests.factor
factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:.
[factor.git] / basis / eval / eval-tests.factor
index 09c7533b285e2def0e58f91208be90a210a42275..0eaeac66c72b56db57d8c7c627fc71f1b2dbfe8f 100644 (file)
@@ -1,6 +1,6 @@
 USING: eval tools.test ;
 IN: eval.tests
 
-[ 4 ] [ "USE: math 2 2 +" eval( -- result ) ] unit-test
+{ 4 } [ "USE: math 2 2 +" eval( -- result ) ] unit-test
 [ "USE: math 2 2 +" eval( -- ) ] must-fail
-[ "4\n" ] [ "USING: math prettyprint ; 2 2 + ." eval>string ] unit-test
+{ "4\n" } [ "USING: math prettyprint ; 2 2 + ." eval>string ] unit-test