Skip to content

Commit 9f5b2d0

Browse files
committed
add test cases
1 parent 663e71e commit 9f5b2d0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/test/cljs/cljs/core_test.cljs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1986,3 +1986,10 @@
19861986
(str x obj y "\"foobar\"" 1 :foo nil))]
19871987
(testing "object is stringified using toString"
19881988
(is (= "correct6\"foobar\"1:foo" (str-fn nil (+ 1 2 3)))))))
1989+
1990+
(deftest test-cljs-3425
1991+
(testing "Incorrect min/max handling of ##NaN"
1992+
(is (== ##NaN (min ##NaN 1)))
1993+
(is (== ##NaN (min 1 ##NaN)))
1994+
(is (== ##NaN (max ##NaN 1)))
1995+
(is (== ##NaN (max 1 ##NaN)))))

0 commit comments

Comments
 (0)