]> gitweb.factorcode.org Git - factor.git/blobdiff - core/classes/maybe/maybe-tests.factor
classes: use check-instance in a few places, to remove duplication.
[factor.git] / core / classes / maybe / maybe-tests.factor
index 846680255797540f1aa8800ce1f9565ae8eb993a..8c7731a03a03dd0f518ddc7a0ef9fa80af14741d 100644 (file)
@@ -63,4 +63,4 @@ M: f lol2 drop "lol22" ;
 [ 3 lol2 ] [ no-method? ] must-fail-with
 
 [ "IN: classes-tests maybe{ 1 2 3 }" eval( -- ) ]
-[ error>> not-classoids? ] must-fail-with
+[ error>> not-an-instance? ] must-fail-with