diff options
Diffstat (limited to 'tests/common.tl')
-rw-r--r-- | tests/common.tl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/common.tl b/tests/common.tl index ea2be1d5..c0dda285 100644 --- a/tests/common.tl +++ b/tests/common.tl @@ -20,6 +20,9 @@ (defmacro stest (expr expected) ^(vtest ,^(tostring ,expr) ,expected)) +(defmacro mtest (. pairs) + ^(progn ,*(mapcar (op cons 'test) (tuples 2 pairs)))) + (defun osname () (with-stream (u (open-command "(uname -o || uname) 2> /dev/null")) (get-line u))) |