diff options
author | Juan J. Martinez <jjm@usebox.net> | 2022-09-11 16:02:31 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2022-09-11 16:02:31 +0100 |
commit | 5f5724b0b3785eae99dacc7336b1f4bd9536ef08 (patch) | |
tree | 363d5cc230bc4258122fb4fd5b877ec1261c1946 /test | |
parent | ead8764499fe3c094b1e60a1b8464e9e008fc260 (diff) | |
download | micro-lang-hs-5f5724b0b3785eae99dacc7336b1f4bd9536ef08.tar.gz micro-lang-hs-5f5724b0b3785eae99dacc7336b1f4bd9536ef08.zip |
Constant folding fixes
Diffstat (limited to 'test')
-rw-r--r-- | test/Language.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Language.hs b/test/Language.hs index 604b06b..9d81733 100644 --- a/test/Language.hs +++ b/test/Language.hs @@ -254,9 +254,9 @@ testCase18 = TestCase $ assertCompileAst "module main\n\ - \1 + 2;" + \1 + 2 + 3 + (5 + 5);" [ A.Module "main" $ newPos "-" 1 1, - A.Num 3 $ newPos "-" 2 5 + A.Num 16 $ newPos "-" 2 13 ] -- test errors |