summaryrefslogtreecommitdiff
path: root/tests/integration/flags_tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/flags_tests.rs')
-rw-r--r--tests/integration/flags_tests.rs42
1 files changed, 0 insertions, 42 deletions
diff --git a/tests/integration/flags_tests.rs b/tests/integration/flags_tests.rs
index c898c199c..751f4aafe 100644
--- a/tests/integration/flags_tests.rs
+++ b/tests/integration/flags_tests.rs
@@ -1,22 +1,9 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
use test_util as util;
-use test_util::itest;
use util::assert_contains;
#[test]
-fn help_flag() {
- let status = util::deno_cmd()
- .current_dir(util::testdata_path())
- .arg("--help")
- .spawn()
- .unwrap()
- .wait()
- .unwrap();
- assert!(status.success());
-}
-
-#[test]
fn help_output() {
let output = util::deno_cmd()
.current_dir(util::testdata_path())
@@ -56,32 +43,3 @@ fn help_output() {
assert_contains!(stdout, description);
}
}
-
-#[test]
-fn version_short_flag() {
- let status = util::deno_cmd()
- .current_dir(util::testdata_path())
- .arg("-V")
- .spawn()
- .unwrap()
- .wait()
- .unwrap();
- assert!(status.success());
-}
-
-#[test]
-fn version_long_flag() {
- let status = util::deno_cmd()
- .current_dir(util::testdata_path())
- .arg("--version")
- .spawn()
- .unwrap()
- .wait()
- .unwrap();
- assert!(status.success());
-}
-
-itest!(types {
- args: "types",
- output: "types/types.out",
-});