Skip to content

Commit

Permalink
Add test for -V short argument
Browse files Browse the repository at this point in the history
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
  • Loading branch information
Rustin170506 committed Oct 14, 2023
1 parent ded92b1 commit 267ae19
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/testsuite/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ fn simple() {
p.cargo("--version")
.with_stdout(&format!("cargo {}\n", cargo::version()))
.run();

p.cargo("-V")
.with_stdout(&format!("cargo {}\n", cargo::version()))
.run();
}

#[cargo_test]
Expand Down

0 comments on commit 267ae19

Please sign in to comment.