claw-code/rust/crates/rusty-claude-cli/tests
Yeachan-Heo 0197fa2020 fix(#3129): handle trailing json format for diff errors
Keep malformed diff invocations with trailing JSON format flags on the parser error path and lock the contract with focused output-format regressions.

Constraint: Do not touch tracked .omx state files.

Rejected: Repeating direct binary smoke loops | local auth/provider configuration intercepts those invocations and obscures parser behavior.

Confidence: high

Scope-risk: narrow

Tested: git diff --check; cargo fmt --check; cargo test -p rusty-claude-cli diff_extra_args_have_typed_error_kind_and_hint_766 --test output_format_contract; cargo test -p rusty-claude-cli diff_trailing_json_after_malformed_args_is_bounded_json_3129 --test output_format_contract; cargo test -p rusty-claude-cli diff_non_git_dir_has_error_kind_and_hint_801 --test output_format_contract
2026-05-27 12:36:22 +00: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+test(#749): compact interactive-only hint now non-null; extend compact JSON test for hint contract 2026-05-26 19:38:09 +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(#3129): handle trailing json format for diff errors 2026-05-27 12:36:22 +00:00
resume_slash_commands.rs fix(#716): align 5 resume-path error JSON envelopes from legacy type:error shape to standard kind/action/status/error_kind/exit_code contract 2026-05-26 05:04:50 +09:00