summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2020-06-12 09:19:29 -0400
committerGitHub <noreply@github.com>2020-06-12 09:19:29 -0400
commitd0970daacda0b6f6c2077c2f81948536b574bbe9 (patch)
treef116548be832ae6786449dd6f1257865efe38026 /cli
parentca1c2ee82207f2ead857ab4aeca48edff16827ae (diff)
make std deno-lint clean (#6240)
Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli')
-rw-r--r--cli/tests/integration_tests.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs
index 9bdc1db60..89b46acf3 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -32,6 +32,19 @@ fn std_tests() {
}
#[test]
+fn std_lint() {
+ let status = util::deno_cmd()
+ .arg("lint")
+ .arg("--unstable")
+ .arg(util::root_path().join("std"))
+ .spawn()
+ .unwrap()
+ .wait()
+ .unwrap();
+ assert!(status.success());
+}
+
+#[test]
fn x_deno_warning() {
let g = util::http_server();
let output = util::deno_cmd()