]> gitweb.factorcode.org Git - factor.git/commitdiff
infix: fix infix syntax
authorDoug Coleman <doug.coleman@gmail.com>
Wed, 22 Jul 2015 00:59:44 +0000 (17:59 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Wed, 22 Jul 2015 01:00:01 +0000 (18:00 -0700)
extra/infix/infix-tests.factor

index 1b9950e989278b714bb5753f7a86e08169afd543..bf92986d8f6a39cc5a694e67ce6d50810265b0de 100644 (file)
@@ -51,6 +51,6 @@ IN: infix.tests
 { "rbo" } [ [let "foobar" :> s [infix s[:0:-2] infix] ] ] unit-test
 { "rb" } [ [let "foobar" :> s [infix s[:-5:-2] infix] ] ] unit-test
 
-INFIX:: foo ( x y -- z ) x**2-abs(y);
+INFIX:: foo ( x y -- z ) x**2-abs(y) ;
 
 { 194 } [ 15 31 foo ] unit-test