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

Function reserved_flags_extracted

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

Source from the content-addressed store, hash-verified

184
185#[test]
186fn reserved_flags_extracted() {
187 let d = def("search");
188 let parsed = parse_invocation(
189 &d,
190 &[
191 "foo".to_string(),
192 "--json".to_string(),
193 "--project".to_string(),
194 "/tmp/x".to_string(),
195 ],
196 )
197 .unwrap();
198 assert!(parsed.raw_json);
199 assert_eq!(parsed.project.as_deref(), Some("/tmp/x"));
200}
201
202#[test]
203fn help_flag_short_circuits() {

Callers

nothing calls this directly

Calls 2

parse_invocationFunction · 0.85
defFunction · 0.70

Tested by

no test coverage detected