1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-23 19:57:40 +00:00

Fix os/execute regression.

This commit is contained in:
bakpakin
2022-04-27 22:59:27 -05:00
parent 73f5c41fae
commit 427f7c362e
2 changed files with 5 additions and 1 deletions

View File

@@ -50,5 +50,9 @@
(assert (= (hash 0) (hash (* -1 0))) "hash -0 same as hash 0")
# os/execute regressions
(for i 0 10
(assert (= i (os/execute [(dyn :executable) "-e" (string/format "(os/exit %d)" i)] :p)) (string "os/execute " i)))
(end-suite)