summaryrefslogtreecommitdiff
path: root/cli/tests/integration_tests.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-06-10 23:29:48 +0200
committerGitHub <noreply@github.com>2020-06-10 23:29:48 +0200
commite4e332abbbe0dbdb44305a261f9965ba89e7767b (patch)
tree6bdbeb2c6d1039adf34f7366e467e105e91ab63d /cli/tests/integration_tests.rs
parente53a1b14968099df06624a4dc4d4ab810d1ce443 (diff)
feat(lint): use default globs, upgrade to v0.1.9 (#6222)
This commit: * added default file globs so "deno lint" can be run without arguments (just like "deno fmt") * added test for globs in "deno lint" * upgrade "deno_lint" crate to v0.1.9
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r--cli/tests/integration_tests.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs
index fafce3eb0..e3f4bd085 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -1957,6 +1957,12 @@ itest!(deno_lint {
exit_code: 1,
});
+itest!(deno_lint_glob {
+ args: "lint --unstable lint/",
+ output: "lint/expected_glob.out",
+ exit_code: 1,
+});
+
#[test]
fn cafile_fetch() {
use url::Url;