Index: test/cctest/test-api.cc |
=================================================================== |
--- test/cctest/test-api.cc (revision 3013) |
+++ test/cctest/test-api.cc (working copy) |
@@ -7985,8 +7985,8 @@ |
// Test that idle notification can be handled when V8 has not yet been |
// set up. |
THREADED_TEST(IdleNotification) { |
- for (int i = 0; i < 100; i++) v8::V8::IdleNotification(true); |
- for (int i = 0; i < 100; i++) v8::V8::IdleNotification(false); |
+ for (int i = 0; i < 100; i++) |
+ CHECK(v8::V8::IdleNotification()); |
} |