mirror of
https://github.com/janet-lang/janet
synced 2025-10-13 23:07:41 +00:00
Add comptime error test.
This commit is contained in:
@@ -278,6 +278,7 @@
|
||||
(assert (= (constantly) (constantly)) "comptime 1")
|
||||
|
||||
(assert-error "arity issue in macro" (eval '(each [])))
|
||||
(assert-error "comptime issue" (eval '(comptime (error "oops"))))
|
||||
|
||||
(with [f (file/temp)]
|
||||
(file/write f "foo\n")
|
||||
|
Reference in New Issue
Block a user