diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-09-28 13:52:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 13:52:10 -0400 |
commit | fcb20ab952fb78cd3069239a25f8e24d49cca541 (patch) | |
tree | ac6bd572a57bf9279e702d19b3ec5b90420f39e3 /cli/tests | |
parent | e64af6260a512a9e6eaed8bc8c48f0222c39afb2 (diff) |
chore: fix flaky integration::lint::compact (#16075)
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/integration/lint_tests.rs | 2 | ||||
-rw-r--r-- | cli/tests/testdata/lint/expected_compact.out | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/cli/tests/integration/lint_tests.rs b/cli/tests/integration/lint_tests.rs index 6b78e0609..afcdc6e40 100644 --- a/cli/tests/integration/lint_tests.rs +++ b/cli/tests/integration/lint_tests.rs @@ -44,7 +44,7 @@ itest!(json { itest!(compact { args: - "lint --compact lint/without_config/file1.js lint/without_config/file2.ts lint/without_config/ignored_file.tss", + "lint --compact lint/without_config/file1.js lint/without_config/ignored_file.tss", output: "lint/expected_compact.out", exit_code: 1, }); diff --git a/cli/tests/testdata/lint/expected_compact.out b/cli/tests/testdata/lint/expected_compact.out index 03b77faa1..d1b2b922b 100644 --- a/cli/tests/testdata/lint/expected_compact.out +++ b/cli/tests/testdata/lint/expected_compact.out @@ -1,5 +1,4 @@ [WILDCARD]file1.js: line 1, col 1 - Ignore directive requires lint rule name(s) (ban-untagged-ignore) [WILDCARD]file1.js: line 2, col 15 - Empty block statement (no-empty) -[WILDCARD]file2.ts: line 3, col 14 - Empty block statement (no-empty) -Found 3 problems -Checked 2 files +Found 2 problems +Checked 1 file |