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

Function unknown_tool_name_errors

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

Source from the content-addressed store, hash-verified

208
209#[test]
210fn unknown_tool_name_errors() {
211 // canonical_tool_name only normalises — unknown names are caught by
212 // the lookup in run(). Simulate the lookup here.
213 let canonical = canonical_tool_name("totally-fake-tool");
214 let found = defs().into_iter().any(|d| d.name == canonical);
215 assert!(!found);
216}
217
218#[test]
219fn array_value_collected_via_repetition() {

Callers

nothing calls this directly

Calls 2

defsFunction · 0.85
canonical_tool_nameFunction · 0.70

Tested by

no test coverage detected