Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 1cebdf0bf276a1c6f2c78ae4826f1579b37c386a..7fa4b04a81d144ec9b60e1280ab41fb1a1f62c6b 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -335,7 +335,7 @@ THREADED_TEST(Access) { |
CHECK(obj->Set(env.local(), v8_str("foo"), bar_str).ToChecked()); |
bool result; |
- CHECK(obj->Set(env.local(), v8_str("foo"), bar_str).To(result)); |
+ CHECK(obj->Set(env.local(), v8_str("foo"), bar_str).To(&result)); |
CHECK(result); |
} |