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

Unified Diff: test/mjsunit/es6/debug-promises/throw-caught-all.js

Issue 455683002: Fix debug-promises tests. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 months 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
Index: test/mjsunit/es6/debug-promises/throw-caught-all.js
diff --git a/test/mjsunit/es6/debug-promises/throw-caught-all.js b/test/mjsunit/es6/debug-promises/throw-caught-all.js
index 053c0c2842ebcbafa8d406a9548d6e33d780da40..2fbf05141d56d018f3115a8a5e82b8cfcd709b43 100644
--- a/test/mjsunit/es6/debug-promises/throw-caught-all.js
+++ b/test/mjsunit/es6/debug-promises/throw-caught-all.js
@@ -35,7 +35,7 @@ function listener(event, exec_state, event_data, data) {
expected_events--;
assertTrue(expected_events >= 0);
assertEquals("caught", event_data.exception().message);
- assertEquals(q, event_data.promise());
+ assertSame(q, event_data.promise());
assertFalse(event_data.uncaught());
}
} catch (e) {
« no previous file with comments | « test/mjsunit/es6/debug-promises/reject-with-undefined-reject.js ('k') | test/mjsunit/es6/debug-promises/throw-uncaught-all.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698