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:
parent
a8df00d574
commit
8f69d82b57
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user