mirror of
https://github.com/janet-lang/janet
synced 2025-01-10 23:50:26 +00:00
Add tests
This commit is contained in:
parent
2080ac3bda
commit
547fda6a40
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user