diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-06-12 09:19:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-12 09:19:29 -0400 |
commit | d0970daacda0b6f6c2077c2f81948536b574bbe9 (patch) | |
tree | f116548be832ae6786449dd6f1257865efe38026 /cli/tests | |
parent | ca1c2ee82207f2ead857ab4aeca48edff16827ae (diff) |
make std deno-lint clean (#6240)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/integration_tests.rs | 13 |
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() |