Skip to content

Commit cb2352f

Browse files
authored
Merge pull request #5918 from epage/test
test(parser): Correct misleading test names
2 parents ac93ac6 + b3146db commit cb2352f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/builder/ignore_errors.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ fn subcommand() {
206206
}
207207

208208
#[test]
209-
fn help_command() {
209+
fn help_flag() {
210210
static HELP: &str = "\
211211
Usage: test
212212
@@ -220,7 +220,7 @@ Options:
220220
}
221221

222222
#[test]
223-
fn version_command() {
223+
fn version_flag() {
224224
let cmd = Command::new("test").ignore_errors(true).version("0.1");
225225

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

0 commit comments

Comments
 (0)