Index: test/unittests/compiler/js-builtin-reducer-unittest.cc |
diff --git a/test/unittests/compiler/js-builtin-reducer-unittest.cc b/test/unittests/compiler/js-builtin-reducer-unittest.cc |
index 48debc368c17947f8ef834bb92525e6be77d7e7c..419cc7224e95fe1b0a3f9bfaae0fe42232e06f6b 100644 |
--- a/test/unittests/compiler/js-builtin-reducer-unittest.cc |
+++ b/test/unittests/compiler/js-builtin-reducer-unittest.cc |
@@ -1517,7 +1517,7 @@ TEST_F(JSBuiltinReducerTest, NumberParseIntWithIntegral32) { |
Reduction r = Reduce(call); |
ASSERT_TRUE(r.Changed()); |
- EXPECT_THAT(r.replacement(), IsNumberToInt32(p0)); |
+ EXPECT_EQ(p0, r.replacement()); |
} |
} |
@@ -1537,7 +1537,7 @@ TEST_F(JSBuiltinReducerTest, NumberParseIntWithIntegral32AndUndefined) { |
Reduction r = Reduce(call); |
ASSERT_TRUE(r.Changed()); |
- EXPECT_THAT(r.replacement(), IsNumberToInt32(p0)); |
+ EXPECT_EQ(p0, r.replacement()); |
} |
} |