diff options
author | Bad Diode <bd@badd10de.dev> | 2021-10-13 21:08:17 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2021-10-13 21:08:17 +0200 |
commit | 00cf382196f81e22256e22e5c79a9d3503db5e91 (patch) | |
tree | 861137232ac8199beffd5c8d53284ec7be751fba /tests | |
parent | d38ae947933fe26773a810d91fba3b23766d4d92 (diff) | |
download | bdl-00cf382196f81e22256e22e5c79a9d3503db5e91.tar.gz bdl-00cf382196f81e22256e22e5c79a9d3503db5e91.zip |
Add supress-errors primitive and variable tests
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 | ||