Skip to content

Commit 634834f

Browse files
committed
fix test paths for windows
1 parent a02d172 commit 634834f

File tree

1 file changed

+1
-1
lines changed
  • test/configCases/records/issue-2991

1 file changed

+1
-1
lines changed

test/configCases/records/issue-2991/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ it("should write relative paths to records", function() {
66
var fs = require("fs");
77
var path = require("path");
88
var content = fs.readFileSync(path.join(__dirname, "records.json"), "utf-8");
9-
content.should.eql(`{
9+
content.replace(/\\\\/g, "/").should.eql(`{
1010
"modules": {
1111
"byIdentifier": {
1212
"../../../../external \\"fs\\"": 0,

0 commit comments

Comments
 (0)