Skip to content

Commit

Permalink
Test for _ on variable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcotmarcot committed Oct 11, 2012
1 parent cc2e49d commit 6ead2ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/tests.hs
Expand Up @@ -128,7 +128,8 @@ execution
~=? interpret [] "for x = 1 do\n disp(x)\nend",
([], [1])
~=? interpret [1] "a = input(\"\")\r\ndisp(a)",
([], [1, 2]) ~=? interpret [] "printf(\"\", 1, 2)"]
([], [1, 2]) ~=? interpret [] "printf(\"\", 1, 2)",
([], [3]) ~=? interpret [] "a_b = 3; disp(a_b)"]

loop :: Test
loop
Expand Down

0 comments on commit 6ead2ad

Please sign in to comment.