Skip to content
Permalink
Browse files

Chore: fix test that fails when the CWD contains a space (#11612)

  • Loading branch information...
not-an-aardvark committed Apr 13, 2019
1 parent 8bfd1d1 commit 3d9e1372aad1e174b5438e3d6bd75fdefba06bad
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/lib/config/config-file.js
@@ -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", () => {

0 comments on commit 3d9e137

Please sign in to comment.
You can’t perform that action at this time.