We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 663e71e commit 9f5b2d0Copy full SHA for 9f5b2d0
src/test/cljs/cljs/core_test.cljs
@@ -1986,3 +1986,10 @@
1986
(str x obj y "\"foobar\"" 1 :foo nil))]
1987
(testing "object is stringified using toString"
1988
(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