Skip to content

Commit

Permalink
Merge pull request #5918 from epage/test
Browse files Browse the repository at this point in the history
test(parser): Correct misleading test names
  • Loading branch information
epage authored Feb 19, 2025
2 parents ac93ac6 + b3146db commit cb2352f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/builder/ignore_errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ fn subcommand() {
}

#[test]
fn help_command() {
fn help_flag() {
static HELP: &str = "\
Usage: test
Expand All @@ -220,7 +220,7 @@ Options:
}

#[test]
fn version_command() {
fn version_flag() {
let cmd = Command::new("test").ignore_errors(true).version("0.1");

utils::assert_output(cmd, "test --version", "test 0.1\n", false);
Expand Down

0 comments on commit cb2352f

Please sign in to comment.