Skip to content

Commit

Permalink
Chore: fix test that fails when the CWD contains a space (#11612)
Browse files Browse the repository at this point in the history
  • Loading branch information
not-an-aardvark committed Apr 13, 2019
1 parent 8bfd1d1 commit 3d9e137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lib/config/config-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ describe("ConfigFile", () => {
extends: "plugin:enable-nonexistent-parser/bar",
rules: { eqeqeq: 2 }
}, configContext, "/whatever");
}, /Failed to resolve parser 'nonexistent-parser' declared in '[-\w/.:\\]+'.\nReferenced from: \/whatever/u);
}, /Failed to resolve parser 'nonexistent-parser' declared in '.+'.\nReferenced from: \/whatever/u);
});

it("should fall back to default parser when a parser called 'espree' is not found", () => {
Expand Down

0 comments on commit 3d9e137

Please sign in to comment.