fix enumerate test error for js
This commit is contained in:
@@ -131,8 +131,8 @@
|
||||
(Assert.equals (.toString [[1 2] [3 4]]) (.toString (apply zipThrow [[1 3] [2 4]]))))
|
||||
|
||||
(defun _testEnumerate []
|
||||
(Assert.equals "[[0,a],[1,b]]" (.toString (enumerate ["a" "b"])))
|
||||
(Assert.equals "[[1,a],[2,b]]" (.toString (enumerate ["a" "b"] 1))))
|
||||
(Assert.equals (.toString [[0 1] [1 2]]) (.toString (enumerate [1 2])))
|
||||
(Assert.equals (.toString [[1 1] [2 2]]) (.toString (enumerate [1 2] 1))))
|
||||
|
||||
(defun _testLet []
|
||||
(let [a 5
|
||||
|
Reference in New Issue
Block a user