Index: test/unittests/compiler/common-operator-unittest.cc |
diff --git a/test/unittests/compiler/common-operator-unittest.cc b/test/unittests/compiler/common-operator-unittest.cc |
index 2d1e0dcc30694b5e0bf84b4533ae0fc38a6d5d3b..26e861c1b67684cb7b8fa040318dd1c20c6dd642 100644 |
--- a/test/unittests/compiler/common-operator-unittest.cc |
+++ b/test/unittests/compiler/common-operator-unittest.cc |
@@ -225,11 +225,11 @@ TEST_F(CommonOperatorTest, IfException) { |
EXPECT_EQ(IrOpcode::kIfException, op->opcode()); |
EXPECT_EQ(Operator::kKontrol, op->properties()); |
EXPECT_EQ(0, op->ValueInputCount()); |
- EXPECT_EQ(0, op->EffectInputCount()); |
+ EXPECT_EQ(1, op->EffectInputCount()); |
EXPECT_EQ(1, op->ControlInputCount()); |
- EXPECT_EQ(1, OperatorProperties::GetTotalInputCount(op)); |
+ EXPECT_EQ(2, OperatorProperties::GetTotalInputCount(op)); |
EXPECT_EQ(1, op->ValueOutputCount()); |
- EXPECT_EQ(0, op->EffectOutputCount()); |
+ EXPECT_EQ(1, op->EffectOutputCount()); |
EXPECT_EQ(1, op->ControlOutputCount()); |
} |
} |