()
| 185 | |
| 186 | #[test] |
| 187 | fn test_substring_match() { |
| 188 | let result = match_substring_in("/age", COMMAND_SPECS); |
| 189 | let names: Vec<&str> = result.iter().map(|s| s.name).collect(); |
| 190 | assert!(names.contains(&"/usage")); |
| 191 | } |
| 192 | |
| 193 | #[test] |
| 194 | fn test_mid_string_match() { |
nothing calls this directly
no test coverage detected