Index: test/cctest/test-types.cc |
diff --git a/test/cctest/test-types.cc b/test/cctest/test-types.cc |
index e5c9bbe29a3a9441b81d4c8f2a4124d494a6e6c5..fa5d7d4c3ebdfa031368468f6835337756487cb2 100644 |
--- a/test/cctest/test-types.cc |
+++ b/test/cctest/test-types.cc |
@@ -559,8 +559,8 @@ struct Tests : Rep { |
CHECK(T.Constant(fac->NewNumber(10e60))->Is(T.OtherNumber)); |
CHECK(T.Constant(fac->NewNumber(-1.0*0.0))->Is(T.MinusZero)); |
CHECK(T.Constant(fac->NewNumber(OS::nan_value()))->Is(T.NaN)); |
- CHECK(T.Constant(fac->NewNumber(1.0/0.0))->Is(T.OtherNumber)); |
- CHECK(T.Constant(fac->NewNumber(-1.0/0.0))->Is(T.OtherNumber)); |
+ CHECK(T.Constant(fac->NewNumber(V8_INFINITY))->Is(T.OtherNumber)); |
+ CHECK(T.Constant(fac->NewNumber(-V8_INFINITY))->Is(T.OtherNumber)); |
} |
void Array() { |