locals.parser: remove << >> from tests to see if it works now.

char-rename
John Benediktsson 2017-01-08 14:52:55 -08:00
parent cd3adb671c
commit 7c24c671b0
1 changed files with 3 additions and 11 deletions

View File

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