diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/variables_expected.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/variables_expected.txt b/tests/variables_expected.txt new file mode 100644 index 0000000..2e6e2be --- /dev/null +++ b/tests/variables_expected.txt | |||
@@ -0,0 +1,11 @@ | |||
1 | (error? (def a 1)) -> false | ||
2 | a -> 1 | ||
3 | (error? (def a 300)) -> false | ||
4 | a -> 300 | ||
5 | (error? (def a "strings")) -> false | ||
6 | a -> "strings" | ||
7 | (error? (def a 1)) -> false | ||
8 | a -> (:quoted :symbols 123 :or "strings") | ||
9 | (error? (set! a 42)) -> false | ||
10 | a -> 42 | ||
11 | (error? (set! b 99)) -> true | ||