]> gitweb.factorcode.org Git - factor.git/commitdiff
Revert "locals.parser: remove << >> from tests to see if it works now."
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 9 Jan 2017 02:10:32 +0000 (18:10 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 9 Jan 2017 02:10:32 +0000 (18:10 -0800)
This reverts commit 7c24c671b01ad35a3528aab05dedb49bacd06f01.

basis/locals/parser/parser-tests.factor

index 52fb84644db08309cd61d13746e3494112b206b5..50ba01c4a36d1602d75619bd73f98960d680bc78 100644 (file)
@@ -1,7 +1,11 @@
-USING: accessors assocs compiler.units kernel lexer
-locals.backend locals.parser parser prettyprint sequences
-tools.test vocabs.parser ;
+USING: accessors assocs compiler.units kernel lexer locals.backend
+locals.parser namespaces parser prettyprint sequences sorting
+tools.test vocabs vocabs.parser ;
+IN: locals.parser.tests
 
+! XXX: remove the << and >> below and make test-all pass
+
+<<
 ! (::)
 {
     "dobiedoo"
@@ -22,6 +26,7 @@ tools.test vocabs.parser ;
         qualified-vocabs last words>> keys "um" swap member?
     ] with-compilation-unit
 ] unit-test
+>>
 
 ! check-local-name
 { "hello" } [
@@ -53,12 +58,15 @@ tools.test vocabs.parser ;
     [ locals>> [ name>> ] map ] [ keys ] bi*
 ] unit-test
 
+<<
 {
     "V{ 99 :> kkk kkk }"
 } [
     [
+        "locals" use-vocab
         { "99 :> kkk kkk ;" } <lexer> [
             H{ } clone [ \ ; parse-until ] with-lambda-scope
         ] with-lexer
     ] with-compilation-unit unparse
 ] unit-test
+>>