Index: test/unittests/compiler/scheduler-unittest.cc |
diff --git a/test/unittests/compiler/scheduler-unittest.cc b/test/unittests/compiler/scheduler-unittest.cc |
index afca98ca9b1fb109d0502886eeefea5dad168838..9ff6a63998b8eaa423cfe75c4879376b21baf757 100644 |
--- a/test/unittests/compiler/scheduler-unittest.cc |
+++ b/test/unittests/compiler/scheduler-unittest.cc |
@@ -1579,10 +1579,7 @@ TEST_F(SchedulerTest, BuildScheduleSimpleLoopWithCodeMotion) { |
graph()->SetStart(n0); |
graph()->SetEnd(n22); |
- Schedule* schedule = ComputeAndVerifySchedule(19); |
- // Make sure the integer-only add gets hoisted to a different block that the |
- // JSAdd. |
- EXPECT_NE(schedule->block(n19), schedule->block(n20)); |
+ ComputeAndVerifySchedule(19); |
} |