Index: test/unittests/heap/embedder-tracing-unittest.cc |
diff --git a/test/unittests/heap/embedder-tracing-unittest.cc b/test/unittests/heap/embedder-tracing-unittest.cc |
index 0b321ef4cc0e6e7dc4ec98467ff6b820a0e24467..5e53177238284afef6332ef8962d18cc52d3caea 100644 |
--- a/test/unittests/heap/embedder-tracing-unittest.cc |
+++ b/test/unittests/heap/embedder-tracing-unittest.cc |
@@ -136,11 +136,9 @@ TEST(LocalEmbedderHeapTracer, TraceFinishes) { |
EXPECT_EQ(1u, local_tracer.NumberOfCachedWrappersToTrace()); |
EXPECT_CALL(remote_tracer, RegisterV8References(_)); |
EXPECT_CALL(remote_tracer, AdvanceTracing(0, _)).WillOnce(Return(false)); |
- EXPECT_EQ( |
- false, |
- local_tracer.Trace( |
- 0, EmbedderHeapTracer::AdvanceTracingActions( |
- EmbedderHeapTracer::ForceCompletionAction::FORCE_COMPLETION))); |
+ EXPECT_FALSE(local_tracer.Trace( |
+ 0, EmbedderHeapTracer::AdvanceTracingActions( |
+ EmbedderHeapTracer::ForceCompletionAction::FORCE_COMPLETION))); |
EXPECT_EQ(0u, local_tracer.NumberOfCachedWrappersToTrace()); |
} |
@@ -152,11 +150,9 @@ TEST(LocalEmbedderHeapTracer, TraceDoesNotFinish) { |
EXPECT_EQ(1u, local_tracer.NumberOfCachedWrappersToTrace()); |
EXPECT_CALL(remote_tracer, RegisterV8References(_)); |
EXPECT_CALL(remote_tracer, AdvanceTracing(0, _)).WillOnce(Return(true)); |
- EXPECT_EQ( |
- true, |
- local_tracer.Trace( |
- 0, EmbedderHeapTracer::AdvanceTracingActions( |
- EmbedderHeapTracer::ForceCompletionAction::FORCE_COMPLETION))); |
+ EXPECT_TRUE(local_tracer.Trace( |
+ 0, EmbedderHeapTracer::AdvanceTracingActions( |
+ EmbedderHeapTracer::ForceCompletionAction::FORCE_COMPLETION))); |
EXPECT_EQ(0u, local_tracer.NumberOfCachedWrappersToTrace()); |
} |