Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nzakas committed Dec 20, 2023
1 parent d0dea8f commit df69890
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/bin/eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ describe("bin/eslint.js", () => {
const stderrPromise = getOutput(child).then(output => {
assert.match(
output.stderr,
/ESLint couldn't find a configuration file/u
/Could not find config file/u
);
});

Expand Down
2 changes: 1 addition & 1 deletion tests/lib/eslint/flat-eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -6446,6 +6446,6 @@ describe("shouldUseFlatConfig", () => {
});

describe("when the env variable `ESLINT_USE_FLAT_CONFIG` is unset", () => {
testShouldUseFlatConfig(true, false);
testShouldUseFlatConfig(true, true);
});
});

0 comments on commit df69890

Please sign in to comment.