From ff6b8441263669469f7d4c5674e530766cf34a85 Mon Sep 17 00:00:00 2001 From: sttk Date: Wed, 2 Oct 2024 21:08:57 +0900 Subject: [PATCH] test: modified some test method names --- src/parse/parse_with.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parse/parse_with.rs b/src/parse/parse_with.rs index ba9a34e..d00a942 100644 --- a/src/parse/parse_with.rs +++ b/src/parse/parse_with.rs @@ -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()]); @@ -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()]);