]> gitweb.factorcode.org Git - factor.git/commitdiff
stack-checker: update tests
authorJoe Groff <arcata@gmail.com>
Fri, 14 Oct 2011 22:35:29 +0000 (15:35 -0700)
committerJoe Groff <arcata@gmail.com>
Fri, 14 Oct 2011 22:35:29 +0000 (15:35 -0700)
[ bi ] infer now hits the row polymorphism checker before it hits the unknown-macro-input checker because of the effect on keep. Change the test to more directly test that call fails with an unknown input.

basis/stack-checker/stack-checker-tests.factor

index c340b45e80e2a9f40ed13ac7dbfff409bd927b3c..d56e70251770a16a15be4f243fa4c28fab78019a 100644 (file)
@@ -384,7 +384,8 @@ DEFER: eee'
 [ forget-test ] must-infer
 
 [ [ cond ] infer ] [ T{ unknown-macro-input f cond } = ] must-fail-with
-[ [ bi ] infer ] [ T{ unknown-macro-input f call } = ] must-fail-with
+[ [ call ] infer ] [ T{ unknown-macro-input f call } = ] must-fail-with
+[ [ dip ] infer ] [ T{ unknown-macro-input f call } = ] must-fail-with
 
 [ [ each ] infer ] [ T{ unknown-macro-input f each } = ] must-fail-with
 [ [ if* ] infer ] [ T{ unknown-macro-input f if* } = ] must-fail-with