Get the hyphens out of dict specforms

This commit is contained in:
2020-12-10 18:43:24 -07:00
parent da7235ee51
commit 8108235d61
3 changed files with 9 additions and 9 deletions

View File

@@ -332,8 +332,8 @@
(defun _testMaps []
(deflocal :Map<String,String> myMap [=>"hey" "you"
=>"found" "me"])
(Assert.equals "you" (dict-get myMap "hey"))
(Assert.equals "me" (dict-get myMap "found"))
(Assert.equals "you" (dictGet myMap "hey"))
(Assert.equals "me" (dictGet myMap "found"))
(doFor =>key value myMap
(Assert.isTrue (<= 0 (.indexOf ["hey" "found"] key)))
(Assert.isTrue (<= 0 (.indexOf ["you" "me"] value))))