]> gitweb.factorcode.org Git - factor.git/commitdiff
parser: just fix these two tests instead for auto-use on
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 24 Jan 2022 17:23:41 +0000 (09:23 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 24 Jan 2022 17:23:41 +0000 (09:23 -0800)
core/parser/parser-tests.factor

index 0cddf9026a96ce085bd4fce0a0f0490550c6b57a..2cf68b816fbd7c08928996b499d632f5b7e54300 100644 (file)
@@ -614,11 +614,15 @@ EXCLUDE: qualified.tests.bar => x ;
 ] unit-test
 
 [
+    f auto-use? [
     "dup" <string-reader> "unuse-test" parse-stream
+    ] with-variable
 ] [ error>> error>> error>> no-word-error? ] must-fail-with
 
 [
+    f auto-use? [
     "USE: kernel UNUSE: kernel dup" <string-reader> "unuse-test" parse-stream
+    ] with-variable
 ] [ error>> error>> error>> no-word-error? ] must-fail-with
 
 { } [ [ "vocabs.loader.test.l" forget-vocab ] with-compilation-unit ] unit-test