billsun 1 year ago
parent e0bdf2e33d
commit b9baeda56f

@ -14,6 +14,7 @@ class ParserTest extends TimedSuite {
assert(ast == LetRec(Nil, res), "Invalid result") assert(ast == LetRec(Nil, res), "Invalid result")
} }
//see examples/hello.scala and pow.scala for more comprehensive tests
test("SingleDigit") { test("SingleDigit") {
testBaseParser("1", Lit(1)) testBaseParser("1", Lit(1))

Loading…
Cancel
Save