()
| 487 | |
| 488 | #[test] |
| 489 | fn test_format_json_no_sequence() { |
| 490 | let cmd = ChangeCmd::new(); |
| 491 | let change = create_test_change(); |
| 492 | let hash = Hash::of(b"test"); |
| 493 | let output = cmd.format_json(&change, &hash, None); |
| 494 | |
| 495 | let parsed: serde_json::Value = serde_json::from_str(&output).unwrap(); |
| 496 | assert!(parsed.get("sequence").is_none() || parsed["sequence"].is_null()); |
| 497 | } |
| 498 | |
| 499 | #[test] |
| 500 | fn test_hunk_display_summaries_coalesce_same_path() { |
nothing calls this directly
no test coverage detected