claw-code/rust/crates/rusty-claude-cli/tests
YeonGyu-Kim 63931c74fb fix: mcp show (missing server name) emits missing_argument error_kind (#830)
`claw --output-format json mcp show` (no server name) previously emitted
error_kind:"unknown_mcp_action" — misleading because `show` IS a known
action; the problem is a missing required argument.

Fix:
- `render_mcp_report_json_for`: `Some("show")` arm now emits a dedicated
  JSON response with error_kind:"missing_argument" + usage hint
- `classify_error_kind`: add classifier arm for "missing_argument:" prefix

One new test: mcp_show_missing_server_name_emits_missing_argument

572+ tests pass.
2026-05-29 17:07:15 +09:00
..
cli_flags_and_config_defaults.rs fix: resolve model aliases before syntax validation 2026-05-25 11:21:32 +09:00
compact_output.rs fix: route all JSON-mode abort envelopes to stdout (#819 #820 #823) (#3197) 2026-05-29 13:30:35 +09:00
compact_repl_panic.rs fix: REPL display, /compact panic, identity leak, DeepSeek reasoning, thinking blocks 2026-05-06 15:32:34 +09:00
mock_parity_harness.rs fix: resolve model aliases before syntax validation 2026-05-25 11:21:32 +09:00
output_format_contract.rs fix: mcp show (missing server name) emits missing_argument error_kind (#830) 2026-05-29 17:07:15 +09:00
resume_slash_commands.rs fix: route all JSON-mode abort envelopes to stdout (#819 #820 #823) (#3197) 2026-05-29 13:30:35 +09:00