Skip to content

Commit

Permalink
Fix phase on some module tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jedel1043 committed May 29, 2023
1 parent 3e858ef commit 8d48805
Show file tree
Hide file tree
Showing 16 changed files with 48 additions and 16 deletions.
4 changes: 3 additions & 1 deletion test/language/module-code/instn-iee-err-ambiguous-as.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ info: |
SameValue(resolution.[[BindingName]],
starResolution.[[BindingName]]) is false, return "ambiguous".
negative:
phase: runtime
phase: resolution
type: SyntaxError
flags: [module]
---*/

$DONOTEVALUATE();

export { x as y } from './instn-iee-err-ambiguous_FIXTURE.js';
4 changes: 3 additions & 1 deletion test/language/module-code/instn-iee-err-ambiguous.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ info: |
SameValue(resolution.[[BindingName]],
starResolution.[[BindingName]]) is false, return "ambiguous".
negative:
phase: runtime
phase: resolution
type: SyntaxError
flags: [module]
---*/

$DONOTEVALUATE();

export { x } from './instn-iee-err-ambiguous_FIXTURE.js';
4 changes: 3 additions & 1 deletion test/language/module-code/instn-iee-err-circular-as.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ info: |
i. Assert: this is a circular import request.
ii. Return null.
negative:
phase: runtime
phase: resolution
type: SyntaxError
flags: [module]
---*/

$DONOTEVALUATE();

export { x as y } from './instn-iee-err-circular_FIXTURE.js';
4 changes: 3 additions & 1 deletion test/language/module-code/instn-iee-err-circular.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ info: |
i. Assert: this is a circular import request.
ii. Return null.
negative:
phase: runtime
phase: resolution
type: SyntaxError
flags: [module]
---*/

$DONOTEVALUATE();

export { x } from './instn-iee-err-circular_FIXTURE.js';
4 changes: 3 additions & 1 deletion test/language/module-code/instn-iee-err-dflt-thru-star-as.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ info: |
b. Throw a SyntaxError exception.
c. NOTE A default export cannot be provided by an export *.
negative:
phase: runtime
phase: resolution
type: SyntaxError
flags: [module]
---*/

$DONOTEVALUATE();

export { default as x } from './instn-iee-err-dflt-thru-star-int_FIXTURE.js';
4 changes: 3 additions & 1 deletion test/language/module-code/instn-iee-err-dflt-thru-star.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ info: |
b. Throw a SyntaxError exception.
c. NOTE A default export cannot be provided by an export *.
negative:
phase: runtime
phase: resolution
type: SyntaxError
flags: [module]
---*/

$DONOTEVALUATE();

export { default } from './instn-iee-err-dflt-thru-star-int_FIXTURE.js';
4 changes: 3 additions & 1 deletion test/language/module-code/instn-iee-err-not-found-as.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ info: |
[...]
11. Return starResolution.
negative:
phase: runtime
phase: resolution
type: SyntaxError
flags: [module]
---*/

$DONOTEVALUATE();

export { x as y } from './instn-iee-err-not-found-empty_FIXTURE.js';
4 changes: 3 additions & 1 deletion test/language/module-code/instn-iee-err-not-found.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ info: |
[...]
11. Return starResolution.
negative:
phase: runtime
phase: resolution
type: SyntaxError
flags: [module]
---*/

$DONOTEVALUATE();

export { x } from './instn-iee-err-not-found-empty_FIXTURE.js';
4 changes: 3 additions & 1 deletion test/language/module-code/instn-named-err-ambiguous-as.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ info: |
SameValue(resolution.[[BindingName]],
starResolution.[[BindingName]]) is false, return "ambiguous".
negative:
phase: runtime
phase: resolution
type: SyntaxError
flags: [module]
---*/

$DONOTEVALUATE();

import { x as y } from './instn-named-err-ambiguous_FIXTURE.js';
4 changes: 3 additions & 1 deletion test/language/module-code/instn-named-err-ambiguous.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ info: |
SameValue(resolution.[[BindingName]],
starResolution.[[BindingName]]) is false, return "ambiguous".
negative:
phase: runtime
phase: resolution
type: SyntaxError
flags: [module]
---*/

$DONOTEVALUATE();

import { x } from './instn-named-err-ambiguous_FIXTURE.js';
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ info: |
b. Throw a SyntaxError exception.
c. NOTE A default export cannot be provided by an export *.
negative:
phase: runtime
phase: resolution
type: SyntaxError
flags: [module]
---*/

$DONOTEVALUATE();

import { default as x } from './instn-named-err-dflt-thru-star-int_FIXTURE.js';
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ info: |
b. Throw a SyntaxError exception.
c. NOTE A default export cannot be provided by an export *.
negative:
phase: runtime
phase: resolution
type: SyntaxError
flags: [module]
---*/

$DONOTEVALUATE();

import x from './instn-named-err-dflt-thru-star-int_FIXTURE.js';
4 changes: 3 additions & 1 deletion test/language/module-code/instn-named-err-not-found-as.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ info: |
[...]
11. Return starResolution.
negative:
phase: runtime
phase: resolution
type: SyntaxError
flags: [module]
---*/

$DONOTEVALUATE();

import { x as y } from './instn-named-err-not-found-empty_FIXTURE.js';
4 changes: 3 additions & 1 deletion test/language/module-code/instn-named-err-not-found-dflt.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ info: |
[...]
11. Return starResolution.
negative:
phase: runtime
phase: resolution
type: SyntaxError
flags: [module]
---*/

$DONOTEVALUATE();

import x from './instn-named-err-not-found-empty_FIXTURE.js';
4 changes: 3 additions & 1 deletion test/language/module-code/instn-named-err-not-found.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ info: |
[...]
11. Return starResolution.
negative:
phase: runtime
phase: resolution
type: SyntaxError
flags: [module]
---*/

$DONOTEVALUATE();

import { x } from './instn-named-err-not-found-empty_FIXTURE.js';
4 changes: 3 additions & 1 deletion test/language/module-code/instn-star-err-not-found.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ info: |
i. Let resolution be ? module.ResolveExport(name, « », « »).
ii. If resolution is null, throw a SyntaxError exception.
negative:
phase: runtime
phase: resolution
type: SyntaxError
flags: [module]
---*/

$DONOTEVALUATE();

import * as ns from './instn-star-err-not-found-faulty_FIXTURE.js';

0 comments on commit 8d48805

Please sign in to comment.