()
| 57 | |
| 58 | #[test] |
| 59 | fn coerces_boolean_flag() { |
| 60 | let d = def("context"); |
| 61 | let parsed = parse_invocation( |
| 62 | &d, |
| 63 | &[ |
| 64 | "describe X".to_string(), |
| 65 | "--include-code".to_string(), |
| 66 | "true".to_string(), |
| 67 | ], |
| 68 | ) |
| 69 | .unwrap(); |
| 70 | assert_eq!(parsed.tool_args["include_code"], json!(true)); |
| 71 | } |
| 72 | |
| 73 | #[test] |
| 74 | fn missing_required_errors() { |
nothing calls this directly
no test coverage detected