generic.standard: add some tests.

db4
John Benediktsson 2015-08-05 19:13:53 -07:00
parent 9aab1c87b4
commit 6e397d5244
1 changed files with 3 additions and 0 deletions

View 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