Update module resolution tests too.

This commit is contained in:
Ross Kirsling 2019-05-03 21:24:53 -07:00 committed by Rick Waldron
parent 1859ec66f4
commit 079b004ac4
8 changed files with 8 additions and 8 deletions

View File

@ -31,7 +31,7 @@ info: |
{ ExportsList , }
negative:
phase: resolution
type: ReferenceError
type: SyntaxError
flags: [module]
---*/

View File

@ -37,7 +37,7 @@ info: |
{ ImportsList , }
negative:
phase: resolution
type: ReferenceError
type: SyntaxError
flags: [module]
---*/

View File

@ -18,4 +18,4 @@ flags: [module]
$DONOTEVALUATE();
import './instn-resolve-err-syntax_FIXTURE.js';
import './instn-resolve-err-syntax-1_FIXTURE.js';

View File

@ -1,7 +1,7 @@
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: Requested modules that produce an early ReferenceError
description: Requested modules that produce an early SyntaxError
esid: sec-moduledeclarationinstantiation
info: |
[...]
@ -12,10 +12,10 @@ info: |
[...]
negative:
phase: resolution
type: ReferenceError
type: SyntaxError
flags: [module]
---*/
$DONOTEVALUATE();
import './instn-resolve-err-reference_FIXTURE.js';
import './instn-resolve-err-syntax-2_FIXTURE.js';

View File

@ -5,7 +5,7 @@ description: Module dependencies are resolved following a depth-first strategy
esid: sec-moduledeclarationinstantiation
negative:
phase: resolution
type: ReferenceError
type: SyntaxError
flags: [module]
---*/

View File

@ -5,7 +5,7 @@ description: Modules dependencies are resolved in source text order
esid: sec-moduledeclarationinstantiation
negative:
phase: resolution
type: ReferenceError
type: SyntaxError
flags: [module]
---*/