Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(888)

Unified Diff: test/cctest/test-code-stub-assembler.cc

Issue 2606093002: [promises] Refactor debug code (Closed)
Patch Set: fmt Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/debug/debug.h ('K') | « src/runtime/runtime-promise.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e1d6d4997b94217c0e9855e6a612df1af3d8108d..0d883138015cc5b2be45a632ec77540a2f58748a 100644
--- a/test/cctest/test-code-stub-assembler.cc
+++ b/test/cctest/test-code-stub-assembler.cc
@@ -1928,8 +1928,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(DEBUG_PROMISE_DEFAULT_ID, promise_info->debug_id());
+ CHECK_EQ(DEBUG_NOT_ACTIVE, promise_info->debug_name());
}
TEST(IsSymbol) {
« src/debug/debug.h ('K') | « src/runtime/runtime-promise.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698