From 00cf382196f81e22256e22e5c79a9d3503db5e91 Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Wed, 13 Oct 2021 21:08:17 +0200 Subject: Add supress-errors primitive and variable tests --- tests/variables_expected.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/variables_expected.txt (limited to 'tests/variables_expected.txt') 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 @@ +(error? (def a 1)) -> false +a -> 1 +(error? (def a 300)) -> false +a -> 300 +(error? (def a "strings")) -> false +a -> "strings" +(error? (def a 1)) -> false +a -> (:quoted :symbols 123 :or "strings") +(error? (set! a 42)) -> false +a -> 42 +(error? (set! b 99)) -> true -- cgit v1.2.1