Skip to content

Commit 6546749

Browse files
committed
add get array + float test
1 parent 3373567 commit 6546749

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/cljs/cljs/core_test.cljs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2829,7 +2829,8 @@
28292829
(is (= (reduce my-conj [] (eduction (map identity) [1 2 3]))
28302830
[1 2 3])))
28312831

2832-
(deftest test-get-string-float
2832+
(deftest test-get-with-float
2833+
(is (= (get #js [\h \i] 1.7) \i))
28332834
(is (= (get "hi" 1.7) \i)))
28342835

28352836
(comment

0 commit comments

Comments
 (0)