mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 22:15:24 +02:00
Update module resolution tests too.
This commit is contained in:
parent
1859ec66f4
commit
079b004ac4
@ -31,7 +31,7 @@ info: |
|
|||||||
{ ExportsList , }
|
{ ExportsList , }
|
||||||
negative:
|
negative:
|
||||||
phase: resolution
|
phase: resolution
|
||||||
type: ReferenceError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ info: |
|
|||||||
{ ImportsList , }
|
{ ImportsList , }
|
||||||
negative:
|
negative:
|
||||||
phase: resolution
|
phase: resolution
|
||||||
type: ReferenceError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -18,4 +18,4 @@ flags: [module]
|
|||||||
|
|
||||||
$DONOTEVALUATE();
|
$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.
|
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// 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
|
esid: sec-moduledeclarationinstantiation
|
||||||
info: |
|
info: |
|
||||||
[...]
|
[...]
|
||||||
@ -12,10 +12,10 @@ info: |
|
|||||||
[...]
|
[...]
|
||||||
negative:
|
negative:
|
||||||
phase: resolution
|
phase: resolution
|
||||||
type: ReferenceError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
$DONOTEVALUATE();
|
$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
|
esid: sec-moduledeclarationinstantiation
|
||||||
negative:
|
negative:
|
||||||
phase: resolution
|
phase: resolution
|
||||||
type: ReferenceError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ description: Modules dependencies are resolved in source text order
|
|||||||
esid: sec-moduledeclarationinstantiation
|
esid: sec-moduledeclarationinstantiation
|
||||||
negative:
|
negative:
|
||||||
phase: resolution
|
phase: resolution
|
||||||
type: ReferenceError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user