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

Function missing_required_errors

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

Source from the content-addressed store, hash-verified

72
73#[test]
74fn missing_required_errors() {
75 let d = def("search");
76 let err = parse_invocation(&d, &[]).unwrap_err();
77 let msg = format!("{err}");
78 assert!(msg.contains("missing required parameter"), "got: {msg}");
79}
80
81#[test]
82fn args_escape_hatch() {

Callers

nothing calls this directly

Calls 2

parse_invocationFunction · 0.85
defFunction · 0.70

Tested by

no test coverage detected