File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7217,7 +7217,7 @@ reduces them without incurring seq initialization"
72177217 (let [kv (first extra-kvs)]
72187218 (aset ret i (-key kv))
72197219 (aset ret (inc i) (-val kv))
7220- (recur (+ 2 seed-cnt ) (next extra-kvs)))
7220+ (recur (+ 2 i ) (next extra-kvs)))
72217221 ret))))
72227222
72237223(set! (.-createAsIfByAssoc PersistentArrayMap)
Original file line number Diff line number Diff line change 20432043 (is (= [11 0 ] (reset-vals! c 0 )))
20442044 (is (= 0 @c)))))
20452045
2046- #_ (defn test-keys [& {:as opts, :keys [a b]}]
2046+ (defn test-keys [& {:as opts, :keys [a b]}]
20472047 [a b opts])
20482048
2049- #_ (deftest test-cljs-3299-trailing-keys
2049+ (deftest test-cljs-3299-trailing-keys
20502050 (testing " verify proper handling of trailing keys"
20512051 (is (= (test-keys :a 1 , :b 2 )
20522052 [1 2 {:a 1 , :b 2 }]))
20552055 (is (= (test-keys {:a 1 , :b 2 , :c 3 })
20562056 [1 2 {:a 1 , :b 2 , :c 3 }]))
20572057 (is (= (test-keys :d 4 {:a 1 , :b 2 , :c 3 })
2058- [1 nil {:d 4 , :a 1 , :c 3 , nil nil }]))))
2058+ [1 2 {:d 4 , :a 1 , :b 2 , :c 3 }]))))
You can’t perform that action at this time.
0 commit comments