diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-18 06:23:53 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-18 06:23:53 +0800 |
| commit | 145e792e9bbda304312a9f5189bf033644e83263 (patch) | |
| tree | ae2a8596350e42c701f7215feae914cd2729de6c | |
| parent | 5fe4a4e40341aaa2b66fa1cf123d674f61d3e370 (diff) | |
| -rw-r--r-- | arg_picker/test/src/test/route_test.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arg_picker/test/src/test/route_test.rs b/arg_picker/test/src/test/route_test.rs index 7594c6e..c9cd5ab 100644 --- a/arg_picker/test/src/test/route_test.rs +++ b/arg_picker/test/src/test/route_test.rs @@ -1,4 +1,4 @@ -use arg_picker::{macros::arg, IntoPicker}; +use arg_picker::{IntoPicker, macros::arg}; // Route mechanism — or_route @@ -53,7 +53,7 @@ fn test_or_route_to_option_returns_none() { } #[test] -#[should_panic(expected = "called `Option::unwrap()` on a `None` value")] +#[should_panic(expected = "missing required argument")] fn test_or_route_unwrap_panics() { let args: Vec<&str> = vec![]; args.with_route::<&'static str>() |
