summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2012-05-29 07:55:44 +1000
committerJed Barber <jjbarber@y7mail.com>2012-05-29 07:55:44 +1000
commit78ef2b4d5ba2bd9d4b2faa45cb71f62faea35209 (patch)
tree4822e4d02947cee768df8de243e6f2d216d9ee90
parent3bb617aba627d391b422ee10c799ac51524a2bdb (diff)
Changed Command-test.hs to Test.hs
-rw-r--r--Command-test.hs23
1 files changed, 0 insertions, 23 deletions
diff --git a/Command-test.hs b/Command-test.hs
deleted file mode 100644
index bf2b6fc..0000000
--- a/Command-test.hs
+++ /dev/null
@@ -1,23 +0,0 @@
-import Test.HUnit
-import Command
-import TypeVar
-
-
-nametest1 = TestCase (assertEqual "for (name \"abc\")"
- (Just (Name [] "abc"))
- (name "\"abc\""))
-
-nametest2 = TestCase (assertEqual "for (name \"first.second.third\")"
- (Just (Name ["first","second"] "third"))
- (name "\"first.second.third\""))
-
-nametest3 = TestCase (assertEqual "for (name \"firs\\t.se\\cond.\\t\\h\\ird\")"
- (Just (Name ["first","second"] "third"))
- (name "\"firs\\t.se\\cond.\\t\\h\\ird\""))
-
-nametest4 = TestCase (assertEqual "for (name abc)"
- Nothing
- (name "abc"))
-
-main =
- runTestTT $ TestList [nametest1,nametest2,nametest3,nametest4]