classes, words: fix unit tests for method inlining change

db4
Slava Pestov 2009-08-18 17:20:17 -05:00
parent 507e2b7f3a
commit cfe54f8968
2 changed files with 8 additions and 2 deletions

View File

@ -110,6 +110,12 @@ USE: multiline
"class-intersect-no-method-c" parse-stream drop
] unit-test
! Forget the above crap
[
{ "classes.test.a" "classes.test.b" "classes.test.c" "classes.test.d" }
[ forget-vocab ] each
] with-compilation-unit
TUPLE: forgotten-predicate-test ;
[ ] [ [ \ forgotten-predicate-test forget ] with-compilation-unit ] unit-test

View File

@ -122,6 +122,6 @@ DEFER: x
[
all-words [
"compiled-uses" word-prop
keys [ "forgotten" word-prop ] any?
] filter
keys [ "forgotten" word-prop ] filter
] map harvest
] unit-test