Skip to content

Commit 2d02a41

Browse files
committed
Remove \r in test input, avoid issue running test with CRLF fixtures
1 parent 1eb1e78 commit 2d02a41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/index.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function execLoader(filename, callback) {
3333
return this.callback;
3434
}
3535
};
36-
var res = loader.call(context, fs.readFileSync(filename, "utf-8"));
36+
var res = loader.call(context, fs.readFileSync(filename, "utf-8").replace(/\r/g, ''));
3737
if(!async) return callback(null, res, null, deps, warns);
3838
}
3939

0 commit comments

Comments
 (0)