()
| 169 | |
| 170 | #[test] |
| 171 | fn test_exact_match() { |
| 172 | let result = match_substring_in("/help", COMMAND_SPECS); |
| 173 | assert_eq!(result.len(), 1); |
| 174 | assert_eq!(result[0].name, "/help"); |
| 175 | } |
| 176 | |
| 177 | #[test] |
| 178 | fn test_prefix_match() { |
nothing calls this directly
no test coverage detected