diff --git a/test/language/module-code/source-phase-import/import-source-binding-name-2.js b/test/language/module-code/source-phase-import/import-source-binding-name-2.js index 9bc061ba0b3..6160e635a31 100644 --- a/test/language/module-code/source-phase-import/import-source-binding-name-2.js +++ b/test/language/module-code/source-phase-import/import-source-binding-name-2.js @@ -8,16 +8,9 @@ info: | ImportDeclaration: import source ImportedBinding FromClause ; -negative: - phase: resolution - type: SyntaxError -features: [source-phase-imports] +features: [source-phase-imports, source-phase-imports-module-source] flags: [module] ---*/ -$DONOTEVALUATE(); - -import "../resources/ensure-linking-error_FIXTURE.js"; - -import source source from ''; -import source from from ''; +import source source from ''; +import source from from ''; diff --git a/test/language/module-code/source-phase-import/import-source-binding-name.js b/test/language/module-code/source-phase-import/import-source-binding-name.js index e75446f3687..0f540c5dec9 100644 --- a/test/language/module-code/source-phase-import/import-source-binding-name.js +++ b/test/language/module-code/source-phase-import/import-source-binding-name.js @@ -8,16 +8,9 @@ info: | ImportDeclaration: import source ImportedBinding FromClause ; -negative: - phase: resolution - type: SyntaxError -features: [source-phase-imports] +features: [source-phase-imports, source-phase-imports-module-source] flags: [module] ---*/ -$DONOTEVALUATE(); - -import "../resources/ensure-linking-error_FIXTURE.js"; - -import source from ''; -import from from ''; +import source from ''; +import from from ''; diff --git a/test/language/module-code/source-phase-import/import-source-newlines.js b/test/language/module-code/source-phase-import/import-source-newlines.js index a5aa505186f..6524c052a8d 100644 --- a/test/language/module-code/source-phase-import/import-source-newlines.js +++ b/test/language/module-code/source-phase-import/import-source-newlines.js @@ -13,19 +13,13 @@ info: | 16.2.1.7.2 GetModuleSource ( ) Source Text Module Record provides a GetModuleSource implementation that always returns an abrupt completion indicating that a source phase import is not available. -negative: - phase: resolution - type: SyntaxError -features: [source-phase-imports] + +features: [source-phase-imports, source-phase-imports-module-source] flags: [module] ---*/ -$DONOTEVALUATE(); - -import "../resources/ensure-linking-error_FIXTURE.js"; - import 

source -

y from ''; +

y from '';