Skip to content

Commit

Permalink
test: modified some test method names
Browse files Browse the repository at this point in the history
  • Loading branch information
sttk committed Oct 2, 2024
1 parent ae56237 commit ff6b844
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parse/parse_with.rs
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ mod tests_of_parse_with {
}

#[test]
fn zero_cfg_and_on_short_opt() {
fn zero_cfg_and_one_short_opt() {
let opt_cfgs = vec![];

let mut cmd = Cmd::with_strings(["path/to/app".to_string(), "-f".to_string()]);
Expand Down Expand Up @@ -851,7 +851,7 @@ mod tests_of_parse_with {
}

#[test]
fn one_cfg_requires_arg_but_one_short_oopt_has_no_arg() {
fn one_cfg_requires_arg_but_one_short_opt_has_no_arg() {
let opt_cfgs = vec![OptCfg::with([names(&["f"]), has_arg(true)])];

let mut cmd = Cmd::with_strings(["app".to_string(), "-f".to_string()]);
Expand Down

0 comments on commit ff6b844

Please sign in to comment.