]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/peg/peg-tests.factor
factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:.
[factor.git] / basis / peg / peg-tests.factor
index 2a568c1e9d23ab65e3eda85d600d70700f44275b..a49120804142cb1a82a26bbc51969274fb58082b 100644 (file)
@@ -5,7 +5,7 @@ USING: continuations kernel tools.test strings namespaces make arrays
 sequences peg peg.private peg.parsers words math accessors ;
 IN: peg.tests
 
-[ ] [ reset-pegs ] unit-test
+{ } [ reset-pegs ] unit-test
 
 [
     "endbegin" "begin" token parse
@@ -199,13 +199,13 @@ IN: peg.tests
 
 USE: compiler
 
-[ ] [ disable-optimizer ] unit-test
+{ } [ disable-optimizer ] unit-test
 
-[ ] [ "" epsilon parse drop ] unit-test
+{ } [ "" epsilon parse drop ] unit-test
 
-[ ] [ enable-optimizer ] unit-test
+{ } [ enable-optimizer ] unit-test
 
-[ [ ] ] [ "" epsilon [ drop [ [ ] ] call ] action parse ] unit-test
+{ [ ] } [ "" epsilon [ drop [ [ ] ] call ] action parse ] unit-test
 
 {
     T{ parse-error