summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/harmony/modules-import-15-top-level-await.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/harmony/modules-import-15-top-level-await.mjs')
-rw-r--r--deps/v8/test/mjsunit/harmony/modules-import-15-top-level-await.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/test/mjsunit/harmony/modules-import-15-top-level-await.mjs b/deps/v8/test/mjsunit/harmony/modules-import-15-top-level-await.mjs
index ab1f0e44dd..48be20d565 100644
--- a/deps/v8/test/mjsunit/harmony/modules-import-15-top-level-await.mjs
+++ b/deps/v8/test/mjsunit/harmony/modules-import-15-top-level-await.mjs
@@ -48,7 +48,7 @@ async function test3() {
let x = await import('nonexistent-file.mjs');
%AbortJS('failure: should be unreachable');
} catch(e) {
- assertTrue(e.startsWith('d8: Error reading'));
+ assertTrue(e.message.startsWith('d8: Error reading'));
ran = true;
}
}