Index: test/mjsunit/es6/debug-promises/reject-uncaught-late.js |
diff --git a/test/mjsunit/es6/debug-promises/reject-uncaught-late.js b/test/mjsunit/es6/debug-promises/reject-uncaught-late.js |
index b46fa06d1a78ada972e2af2ef801d36cc1e23f32..4a883da13a793972d00fd2f4a9f8311b15b04811 100644 |
--- a/test/mjsunit/es6/debug-promises/reject-uncaught-late.js |
+++ b/test/mjsunit/es6/debug-promises/reject-uncaught-late.js |
@@ -38,7 +38,7 @@ function listener(event, exec_state, event_data, data) { |
assertTrue(expected_events >= 0); |
assertEquals("uncaught reject p", event_data.exception().message); |
assertTrue(event_data.promise() instanceof Promise); |
- assertEquals(p, event_data.promise()); |
+ assertSame(p, 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); |