Index: test/mjsunit/es6/debug-promises/throw-uncaught-all.js |
diff --git a/test/mjsunit/es6/debug-promises/throw-uncaught-all.js b/test/mjsunit/es6/debug-promises/throw-uncaught-all.js |
index 7552589fa72c13160f9b55fc6c6552e4115b88b5..72f800bf5b3017b66a52f879260845448c1dd59a 100644 |
--- a/test/mjsunit/es6/debug-promises/throw-uncaught-all.js |
+++ b/test/mjsunit/es6/debug-promises/throw-uncaught-all.js |
@@ -32,7 +32,7 @@ function listener(event, exec_state, event_data, data) { |
assertTrue(expected_events >= 0); |
assertEquals("uncaught", event_data.exception().message); |
assertTrue(event_data.promise() instanceof Promise); |
- assertEquals(q, event_data.promise()); |
+ assertSame(q, event_data.promise()); |
assertTrue(event_data.uncaught()); |
// Assert that the debug event is triggered at the throw site. |
assertTrue(exec_state.frame(0).sourceLineText().indexOf("// event") > 0); |