summaryrefslogtreecommitdiff
path: root/src/Thue/Test.hs
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2014-04-14 03:36:36 +1000
committerJed Barber <jjbarber@y7mail.com>2014-04-14 03:36:36 +1000
commit07812f903e0d09b4bb8c2ff9ac4310eb0d3ab8ee (patch)
tree9ec1d8edf74b4acaef153f07f0ad4544578066b5 /src/Thue/Test.hs
parentf298fcb268dbd4fe74d752077f8f012532d095c1 (diff)
Everything done for v2a except the actual character parsing
Diffstat (limited to 'src/Thue/Test.hs')
-rw-r--r--src/Thue/Test.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Thue/Test.hs b/src/Thue/Test.hs
index fcd8cde..be4e38b 100644
--- a/src/Thue/Test.hs
+++ b/src/Thue/Test.hs
@@ -16,9 +16,9 @@ instance Eq Text.Parsec.Error.ParseError
-parser0 = (Right (ThueProgram [ThueRule (tStr "a") (tStr "b")] (tStr "a")) ) ~=? (parseThue "a::=b\n::=\na")
+parser0 = (Right (ThueProgram [ThueRule (tStr "a") (tStr "b")] (tStr "a") Ver1) ) ~=? (parseThue "a::=b\n::=\na")
-parser1 = (Right (ThueProgram [] (tStr "b")) ) ~=? (parseThue "::=\nb")
+parser1 = (Right (ThueProgram [] (tStr "b") Ver1) ) ~=? (parseThue "::=\nb")