diff options
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r-- | cli/tests/integration_tests.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index c0dcdb606..bf532e404 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -2253,6 +2253,20 @@ itest!(deno_lint_glob { exit_code: 1, }); +itest!(deno_lint_from_stdin { + args: "lint --unstable -", + input: Some("let a: any;"), + output: "lint/expected_from_stdin.out", + exit_code: 1, +}); + +itest!(deno_lint_from_stdin_json { + args: "lint --unstable --json -", + input: Some("let a: any;"), + output: "lint/expected_from_stdin_json.out", + exit_code: 1, +}); + itest!(deno_doc_builtin { args: "doc", output: "deno_doc_builtin.out", |