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

Fix suite7 failing when run with no docstrings.

This commit is contained in:
Calvin Rose
2019-10-29 18:28:41 -05:00
parent 0d16b9e1a1
commit 2541806dc1
2 changed files with 3 additions and 2 deletions

View File

@@ -128,7 +128,7 @@
# Make sure Carriage Returns don't end up in doc strings.
(assert (not (string/find "\r" (get ((fiber/getenv (fiber/current)) 'cond) :doc))) "no \\r in doc strings")
(assert (not (string/find "\r" (get ((fiber/getenv (fiber/current)) 'cond) :doc ""))) "no \\r in doc strings")
# module/expand-path regression
(with-dyns [:syspath ".janet/.janet"]