Index: test/unittests/compiler/js-typed-lowering-unittest.cc |
diff --git a/test/unittests/compiler/js-typed-lowering-unittest.cc b/test/unittests/compiler/js-typed-lowering-unittest.cc |
index c3879a5cf97947f2b225c96795a182fd1ff12647..765f18fbc3f994d093421b3e6d6441c60cc47fe9 100644 |
--- a/test/unittests/compiler/js-typed-lowering-unittest.cc |
+++ b/test/unittests/compiler/js-typed-lowering-unittest.cc |
@@ -113,8 +113,7 @@ TEST_F(JSTypedLoweringTest, JSToBooleanWithNumber) { |
Reduction r = Reduce(graph()->NewNode( |
javascript()->ToBoolean(ToBooleanHint::kAny), input, context)); |
ASSERT_TRUE(r.Changed()); |
- EXPECT_THAT(r.replacement(), |
- IsNumberLessThan(IsNumberConstant(0.0), IsNumberAbs(input))); |
+ EXPECT_THAT(r.replacement(), IsNumberToBoolean(input)); |
} |
TEST_F(JSTypedLoweringTest, JSToBooleanWithString) { |