1
0
mirror of https://github.com/janet-lang/janet synced 2025-06-27 07:32:51 +00:00

Don't fail testing when ev disabled.

This commit is contained in:
Calvin Rose 2021-02-20 10:56:54 -06:00
parent c68264802a
commit a5f237993d

View File

@ -147,7 +147,9 @@
(assert (= 0 (os/execute [(dyn :executable) "-e" "(+ 1 2 3)"] :pe {"HELLO" "WORLD"})) "os/execute with env") (assert (= 0 (os/execute [(dyn :executable) "-e" "(+ 1 2 3)"] :pe {"HELLO" "WORLD"})) "os/execute with env")
# Regression #638 # Regression #638
(assert (compwhen
(dyn 'ev/go)
(assert
(= [true :caught] (= [true :caught]
(protect (protect
(try (try
@ -157,7 +159,6 @@
(ev/sleep 0) (ev/sleep 0)
(error "oops"))) (error "oops")))
([err] :caught)))) ([err] :caught))))
"regression #638") "regression #638"))
(end-suite) (end-suite)