diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-03-15 15:46:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-15 15:46:51 -0400 |
commit | e40f9a5c14c51b6d05812e48fa072148fe79c74d (patch) | |
tree | e492e91717c7ddda3e31139f870706870449cdde /tests/integration/flags_tests.rs | |
parent | 392579b5a673964752e38e1e0d9c2c9ae223a382 (diff) |
chore: move more tests away from itest (#22909)
Part of #22907
Diffstat (limited to 'tests/integration/flags_tests.rs')
-rw-r--r-- | tests/integration/flags_tests.rs | 42 |
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", -}); |