Skip to content

Commit 7f62070

Browse files
authored
test: modified some test method names (#48)
1 parent ae56237 commit 7f62070

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/parse/parse_with.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ mod tests_of_parse_with {
447447
}
448448

449449
#[test]
450-
fn zero_cfg_and_on_short_opt() {
450+
fn zero_cfg_and_one_short_opt() {
451451
let opt_cfgs = vec![];
452452

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

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

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

0 commit comments

Comments
 (0)