()
| 518 | |
| 519 | #[test] |
| 520 | fn test_format_json_no_sequence() { |
| 521 | let cmd = ChangeCmd::new(); |
| 522 | let change = create_test_change(); |
| 523 | let hash = Hash::of(b"test"); |
| 524 | let output = cmd.format_json(&change, &hash, None); |
| 525 | |
| 526 | let parsed: serde_json::Value = serde_json::from_str(&output).unwrap(); |
| 527 | assert!(parsed.get("sequence").is_none() || parsed["sequence"].is_null()); |
| 528 | } |
| 529 | |
| 530 | #[test] |
| 531 | fn test_hunk_display_summaries_coalesce_same_path() { |
nothing calls this directly
no test coverage detected