Index: test/compiler-unittests/instruction-selector-unittest.h |
diff --git a/test/compiler-unittests/instruction-selector-unittest.h b/test/compiler-unittests/instruction-selector-unittest.h |
index 5a4273fd1266d7e39b4d404540a0b5ba9ab861b9..124bc423578c9a8c50ebd5dcae7480ebcda8e86d 100644 |
--- a/test/compiler-unittests/instruction-selector-unittest.h |
+++ b/test/compiler-unittests/instruction-selector-unittest.h |
@@ -130,11 +130,11 @@ class InstructionSelectorTest : public CompilerTest { |
ConstantMap::const_iterator i; |
if (operand->IsConstant()) { |
i = constants_.find(operand->index()); |
- EXPECT_NE(constants_.end(), i); |
+ EXPECT_FALSE(constants_.end() == i); |
} else { |
EXPECT_EQ(InstructionOperand::IMMEDIATE, operand->kind()); |
i = immediates_.find(operand->index()); |
- EXPECT_NE(immediates_.end(), i); |
+ EXPECT_FALSE(immediates_.end() == i); |
} |
EXPECT_EQ(operand->index(), i->first); |
return i->second; |