1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-16 18:29:56 +00:00

Add test for #1327

This commit is contained in:
Locria Cyber 2023-11-14 08:10:11 +00:00
parent a8df00d574
commit 8f69d82b57
No known key found for this signature in database
GPG Key ID: F8C16E5157A63006

View File

@ -198,5 +198,11 @@
(assert (= (test) '(1 ())) "issue #919")
# Regression #1327
(def x "A")
(def x (if (= nil x) "B" x))
(assert (= x "A"))
(end-suite)