mirror of
https://github.com/janet-lang/janet
synced 2025-10-25 12:47:42 +00:00
Add tests
This commit is contained in:
@@ -161,4 +161,10 @@
|
|||||||
([err] :caught))))
|
([err] :caught))))
|
||||||
"regression #638"))
|
"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)
|
(end-suite)
|
||||||
|
|||||||
Reference in New Issue
Block a user