MCPcopy Create free account
hub / github.com/GCWing/BitFun / test_mid_string_match

Function test_mid_string_match

src/apps/cli/src/commands.rs:194–198  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

192
193 #[test]
194 fn test_mid_string_match() {
195 let result = match_substring_in("/usa", COMMAND_SPECS);
196 assert_eq!(result.len(), 1);
197 assert_eq!(result[0].name, "/usage");
198 }
199
200 #[test]
201 fn test_multiple_substring_matches() {

Callers

nothing calls this directly

Calls 1

match_substring_inFunction · 0.85

Tested by

no test coverage detected