mirror of
https://github.com/janet-lang/janet
synced 2025-01-10 15:40:30 +00:00
Add comptime error test.
This commit is contained in:
parent
0b0fb18c42
commit
c6b639b939
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user