diff options
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/integration_tests.rs | 6 | ||||
-rw-r--r-- | cli/tests/lint/expected_ignore.out | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index 9ffcad184..bb7ba0d6f 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -2216,6 +2216,12 @@ itest!(deno_lint { exit_code: 1, }); +itest!(deno_lint_ignore { + args: "lint --unstable --ignore=lint/file1.js lint/", + output: "lint/expected_ignore.out", + exit_code: 1, +}); + itest!(deno_lint_glob { args: "lint --unstable lint/", output: "lint/expected_glob.out", diff --git a/cli/tests/lint/expected_ignore.out b/cli/tests/lint/expected_ignore.out new file mode 100644 index 000000000..6041d1c6a --- /dev/null +++ b/cli/tests/lint/expected_ignore.out @@ -0,0 +1,2 @@ +[WILDCARD] +Found 1 problems |