diff --git a/deps/v8/test/message/fail/modules-import-assertions-fail-1.out b/deps/v8/test/message/fail/modules-import-assertions-fail-1.out index 8b7bfbf3800989..2ba99a283f69bc 100644 --- a/deps/v8/test/message/fail/modules-import-assertions-fail-1.out +++ b/deps/v8/test/message/fail/modules-import-assertions-fail-1.out @@ -1,2 +1,2 @@ *%(basename)s:9: 'assert' is deprecated in import statements and support will be removed in a future version; use 'with' instead -undefined:0: Error: Invalid module type was asserted +undefined:0: Error: Invalid module type was asserted \ No newline at end of file diff --git a/deps/v8/test/message/fail/modules-import-assertions-fail-2.out b/deps/v8/test/message/fail/modules-import-assertions-fail-2.out index bf2a20504b8364..c6139cdc370f06 100644 --- a/deps/v8/test/message/fail/modules-import-assertions-fail-2.out +++ b/deps/v8/test/message/fail/modules-import-assertions-fail-2.out @@ -2,4 +2,4 @@ undefined:1: SyntaxError: Unexpected token / in JSON at position 0 // Copyright 2021 the V8 project authors. All rights reserved. ^ -SyntaxError: Unexpected token / in JSON at position 0 +SyntaxError: Unexpected token / in JSON at position 0 \ No newline at end of file diff --git a/test/parallel/test-vm-module-link.js b/test/parallel/test-vm-module-link.js index 1edd6a0ba01bb5..54f5bcb75c2a91 100644 --- a/test/parallel/test-vm-module-link.js +++ b/test/parallel/test-vm-module-link.js @@ -126,7 +126,7 @@ async function circular2() { async function asserts() { const m = new SourceTextModule(` - import "foo" assert { n1: 'v1', n2: 'v2' }; + import "foo" with { n1: 'v1', n2: 'v2' }; `, { identifier: 'm' }); await m.link((s, r, p) => { assert.strictEqual(s, 'foo');