From 9516c181a1d8b619cfd5afa8735ace1bd33291c7 Mon Sep 17 00:00:00 2001 From: "rossberg@chromium.org" Date: Mon, 26 May 2014 13:33:06 +0000 Subject: [PATCH] More nuisance TBR=mstarzinger@chromium.org BUG= Review URL: https://codereview.chromium.org/297323004 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21497 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- test/cctest/test-types.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cctest/test-types.cc b/test/cctest/test-types.cc index e5c9bbe..fa5d7d4 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() { -- 2.7.4