aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2021-10-13 21:08:17 +0200
committerBad Diode <bd@badd10de.dev>2021-10-13 21:08:17 +0200
commit00cf382196f81e22256e22e5c79a9d3503db5e91 (patch)
tree861137232ac8199beffd5c8d53284ec7be751fba /tests
parentd38ae947933fe26773a810d91fba3b23766d4d92 (diff)
downloadbdl-00cf382196f81e22256e22e5c79a9d3503db5e91.tar.gz
bdl-00cf382196f81e22256e22e5c79a9d3503db5e91.zip
Add supress-errors primitive and variable tests
Diffstat (limited to 'tests')
-rw-r--r--tests/variables_expected.txt11
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
2a -> 1
3(error? (def a 300)) -> false
4a -> 300
5(error? (def a "strings")) -> false
6a -> "strings"
7(error? (def a 1)) -> false
8a -> (:quoted :symbols 123 :or "strings")
9(error? (set! a 42)) -> false
10a -> 42
11(error? (set! b 99)) -> true