Skip to content

Commit f894a8f

Browse files
authored
Fixes module-resource-name.js on win32. (#4481)
JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo [email protected]
1 parent ccf511a commit f894a8f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/jerry/es.next/module-resource-name.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414

1515
import { getName, getNamePromise } from "./module-resource-name-export.mjs"
1616

17-
assert(getName().endsWith("/module-resource-name-export.mjs") === true);
17+
assert(getName().endsWith("module-resource-name-export.mjs"));
1818

1919
var collector = {};
2020
getNamePromise(collector).then(() => { collector["end"] = resourceName(); });
2121

2222
function __checkAsync() {
23-
assert(collector["start"].endsWith("/module-resource-name-export.mjs") === true);
24-
assert(collector["middle"].endsWith("/module-resource-name-export.mjs") === true);
25-
assert(collector["end"].endsWith("/module-resource-name.js") === true);
23+
assert(collector["start"].endsWith("module-resource-name-export.mjs"));
24+
assert(collector["middle"].endsWith("module-resource-name-export.mjs"));
25+
assert(collector["end"].endsWith("module-resource-name.js"));
2626
assert(Object.keys(collector).length === 3);
2727
}

0 commit comments

Comments
 (0)