Skip to content

Commit e3d0466

Browse files
committed
test_runner: print tree correctly - Windows
1 parent 2cfecee commit e3d0466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/test_runner/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ function getCoverageReport(pad, summary, symbol, color, table) {
516516
for (const key in tree) {
517517
if (tree[key].file) {
518518
const file = tree[key].file;
519-
const fileName = ArrayPrototypePop(StringPrototypeSplit(file.path, '/'));
519+
const fileName = ArrayPrototypePop(StringPrototypeSplit(file.path, sep));
520520

521521
let fileCoverage = 0;
522522
const coverages = ArrayPrototypeMap(kColumnsKeys, (columnKey) => {

0 commit comments

Comments
 (0)