diff options
Diffstat (limited to 'src/test.cc')
-rw-r--r-- | src/test.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test.cc b/src/test.cc index 334e409de39c..019c7bf7e580 100644 --- a/src/test.cc +++ b/src/test.cc @@ -69,6 +69,9 @@ void runTests() evalTest(ATmake("Str(\"Hello World\")")); evalTest(ATmake("Bool(True)")); evalTest(ATmake("Bool(False)")); + evalTest(ATmake("App(Lam(\"x\", Var(\"x\")), Str(\"Hello World\"))")); + evalTest(ATmake("App(App(Lam(\"x\", Lam(\"y\", Var(\"x\"))), Str(\"Hello World\")), Str(\"Hallo Wereld\"))")); + evalTest(ATmake("App(Lam(\"sys\", Lam(\"x\", [Var(\"x\"), Var(\"sys\")])), Str(\"i686-suse-linux\"))")); Hash builder1 = addValue("./test-builder-1.sh"); |