summaryrefslogtreecommitdiffstats
path: root/tests/common.tl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/common.tl')
-rw-r--r--tests/common.tl3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/common.tl b/tests/common.tl
index 5ad35935..dbd4ef24 100644
--- a/tests/common.tl
+++ b/tests/common.tl
@@ -56,6 +56,9 @@
(defmacro stest (expr expected)
^(vtest ,^(tostring ,expr) ,expected))
+(defmacro sstest (expr expected)
+ ^(vtest ,^(tostring ,expr) ,(tostring expected)))
+
(defmacro mtest (. pairs)
^(progn ,*(mapcar (op cons 'test) (tuples 2 pairs))))