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 787dae01ddf41316f61688adc7c2c2d55087a5d2..7718e51e8262a0a431cee68b29443adfce3aafb6 100644 |
--- a/test/unittests/compiler/common-operator-unittest.cc |
+++ b/test/unittests/compiler/common-operator-unittest.cc |
@@ -192,10 +192,10 @@ TEST_F(CommonOperatorTest, Return) { |
const Operator* const op = common()->Return(input_count); |
EXPECT_EQ(IrOpcode::kReturn, op->opcode()); |
EXPECT_EQ(Operator::kNoThrow, op->properties()); |
- EXPECT_EQ(input_count, op->ValueInputCount()); |
+ EXPECT_EQ(input_count + 1, op->ValueInputCount()); |
EXPECT_EQ(1, op->EffectInputCount()); |
EXPECT_EQ(1, op->ControlInputCount()); |
- EXPECT_EQ(2 + input_count, OperatorProperties::GetTotalInputCount(op)); |
+ EXPECT_EQ(3 + input_count, OperatorProperties::GetTotalInputCount(op)); |
EXPECT_EQ(0, op->ValueOutputCount()); |
EXPECT_EQ(0, op->EffectOutputCount()); |
EXPECT_EQ(1, op->ControlOutputCount()); |