Skip to content

Commit d00f481

Browse files
authored
Fix import paths in negative module tests (#4973)
JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo luoyonggang@gmail.com
1 parent c5bc378 commit d00f481

24 files changed

+25
-25
lines changed

tests/jerry/fail/module-002.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
* limitations under the License.
1414
*/
1515

16-
import { , as b } from "../es.next/module-export-01.mjs";
16+
import { , as b } from "../module-export-01.mjs";

tests/jerry/fail/module-003.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
* limitations under the License.
1414
*/
1515

16-
import , as b from "../es.next/module-export-01.mjs";
16+
import , as b from "../module-export-01.mjs";

tests/jerry/fail/module-004.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
* limitations under the License.
1414
*/
1515

16-
import { b as , } from "../es.next/module-export-01.mjs";
16+
import { b as , } from "../module-export-01.mjs";

tests/jerry/fail/module-005.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
*/
1515

1616
/* Named imports must be in a NamedImports block. */
17-
import b as , from "../es.next/module-export-01.mjs";
17+
import b as , from "../module-export-01.mjs";

tests/jerry/fail/module-010.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
*/
1515

1616
/* Can't have duplicate local bindings */
17-
import { c as a, d as a } from "../es.next/module-export-01.mjs";
17+
import { c as a, d as a } from "../module-export-01.mjs";

tests/jerry/fail/module-014.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515

1616
/* Import/export statements must be in the global scope. */
1717
if (true) {
18-
import { c } from "../es.next/module-export-01.mjs";
18+
import { c } from "../module-export-01.mjs";
1919
}

tests/jerry/fail/module-015.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515

1616
/* Import/export statements must be in the global scope. */
1717
function someFunction() {
18-
import { c } from "../es.next/module-export-01.mjs";
18+
import { c } from "../module-export-01.mjs";
1919
}

tests/jerry/fail/module-016.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
*/
1515

1616
/* Import/export statements must be in the global scope. */
17-
eval ('import { c } from "../es.next/module-export-01.mjs";');
17+
eval ('import { c } from "../module-export-01.mjs";');

tests/jerry/fail/module-017.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
*/
1515

1616
/* NamedImports must always be followed by a FromClause. */
17-
import { b }, from "../es.next/module-export-01.mjs"
17+
import { b }, from "../module-export-01.mjs"

tests/jerry/fail/module-018.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
*/
1515

1616
/* An import statement can have either a NameSpaceImport or NamedIpmorts */
17-
import * as mod, { b } from "../es.next/module-export-01.mjs"
17+
import * as mod, { b } from "../module-export-01.mjs"

0 commit comments

Comments
 (0)