1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-25 22:53:16 +00:00

Add tests

This commit is contained in:
sogaiu 2021-08-06 10:05:34 +09:00
parent 2080ac3bda
commit 547fda6a40

View File

@ -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)