Index: test/cctest/test-code-stub-assembler.cc |
diff --git a/test/cctest/test-code-stub-assembler.cc b/test/cctest/test-code-stub-assembler.cc |
index d0bae923aefda7f6d8f7be7609d243b28242afc3..ca96b8420e12114056c4ce022d344c23758bd391 100644 |
--- a/test/cctest/test-code-stub-assembler.cc |
+++ b/test/cctest/test-code-stub-assembler.cc |
@@ -1896,8 +1896,8 @@ TEST(AllocatePromiseReactionJobInfo) { |
CHECK(promise_info->deferred_on_resolve()->IsUndefined(isolate)); |
CHECK(promise_info->deferred_on_reject()->IsUndefined(isolate)); |
CHECK(promise_info->context()->IsContext()); |
- CHECK(promise_info->debug_id()->IsUndefined(isolate)); |
- CHECK(promise_info->debug_name()->IsUndefined(isolate)); |
+ CHECK_EQ(kDebugPromiseNoID, promise_info->debug_id()); |
+ CHECK_EQ(kDebugNotActive, promise_info->debug_name()); |
} |
TEST(IsSymbol) { |