File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -9844,7 +9844,7 @@ Maps become Objects. Arbitrary keys are encoded to by key->js."
98449844 IHash
98459845 (-hash [this]
98469846 (when (nil? __hash)
9847- (set! __hash (hash-string* uuid)))
9847+ (set! __hash (hash uuid)))
98489848 __hash)
98499849
98509850 IComparable
Original file line number Diff line number Diff line change 16901690 (testing " UUID hashing"
16911691 (let [id " 550e8400-e29b-41d4-a716-446655440000"
16921692 uuid (cljs.core/uuid id)
1693- expected (goog.string/hashCode id)]
1693+ expected (hash id)]
16941694 (is (= expected (hash uuid)))
1695- ; ; checking hash cache
1696- (is (= expected (.-__hash uuid)))
1697- (is (= expected (hash uuid))))))
1695+ (is (= expected (.-__hash uuid))))))
16981696
16991697(deftest test-comparable
17001698 (testing " Testing IComparable"
You can’t perform that action at this time.
0 commit comments