mirror of
https://github.com/janet-lang/janet
synced 2025-10-21 10:47:40 +00:00
@@ -161,4 +161,10 @@
|
||||
([err] :caught))))
|
||||
"regression #638"))
|
||||
|
||||
# Issue #751
|
||||
(def t {:side false})
|
||||
(assert (nil? (get-in t [:side :note])) "get-in with false value")
|
||||
(assert (= (get-in t [:side :note] "dflt") "dflt")
|
||||
"get-in with false value and default")
|
||||
|
||||
(end-suite)
|
||||
|
Reference in New Issue
Block a user