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

Function test_exact_match

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

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 1

match_substring_inFunction · 0.85

Tested by

no test coverage detected