]> gitweb.factorcode.org Git - factor.git/commitdiff
generic.standard: add some tests.
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 6 Aug 2015 02:13:53 +0000 (19:13 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 6 Aug 2015 02:13:53 +0000 (19:13 -0700)
core/generic/standard/standard-tests.factor

index fdf1fd7b634cbf1d2a2c05d15c69d77263e81e0d..009db7a8d83ac08e067668a83279353093a8d62a 100644 (file)
@@ -375,6 +375,9 @@ must-fail-with
 [ "IN: generic.standard.tests GENERIC# broken-generic# 1 ( a -- b )" eval( -- ) ]
 [ error>> bad-dispatch-position? ]
 must-fail-with
+[ "IN: generic.standard.tests GENERIC# broken-generic# 2/3 ( a b c -- )" eval( -- ) ]
+[ error>> bad-dispatch-position? ]
+must-fail-with
 
 ! Generic words cannot be inlined
 { } [ "IN: generic.standard.tests GENERIC: foo ( x -- x )" eval( -- ) ] unit-test