MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / parses_positional_required_string

Function parses_positional_required_string

src/tool_command/tests.rs:26–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24
25#[test]
26fn parses_positional_required_string() {
27 let d = def("search");
28 let parsed = parse_invocation(&d, &["foo".to_string()]).unwrap();
29 assert_eq!(parsed.tool_args, json!({ "query": "foo" }));
30}
31
32#[test]
33fn coerces_integer_flag() {

Callers

nothing calls this directly

Calls 2

parse_invocationFunction · 0.85
defFunction · 0.70

Tested by

no test coverage detected