mirror of https://github.com/tc39/test262.git
Update module resolution tests too.
This commit is contained in:
parent
1859ec66f4
commit
079b004ac4
|
@ -31,7 +31,7 @@ info: |
|
|||
{ ExportsList , }
|
||||
negative:
|
||||
phase: resolution
|
||||
type: ReferenceError
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ info: |
|
|||
{ ImportsList , }
|
||||
negative:
|
||||
phase: resolution
|
||||
type: ReferenceError
|
||||
type: SyntaxError
|
||||
flags: [module]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -18,4 +18,4 @@ flags: [module]
|
|||
|
||||
$DONOTEVALUATE();
|
||||
|
||||
import './instn-resolve-err-syntax_FIXTURE.js';
|
||||
import './instn-resolve-err-syntax-1_FIXTURE.js';
|
|
@ -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';
|
|
@ -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]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -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]
|
||||
---*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue