1
0
mirror of https://github.com/janet-lang/janet synced 2025-09-10 14:56:08 +00:00

Change os/perm-str to os/perm-string.

This commit is contained in:
Calvin Rose
2020-04-03 15:23:29 -05:00
parent 95f1ef7561
commit a0d61e45d5
4 changed files with 20 additions and 5 deletions

View File

@@ -8,7 +8,8 @@
(defn assert
"Override's the default assert with some nice error handling."
[x e]
[x &opt e]
(default e "assert error")
(++ num-tests-run)
(when x (++ num-tests-passed))
(if x