()
| 483 | |
| 484 | #[test] |
| 485 | fn test_format_short_basic() { |
| 486 | let cmd = ChangeCmd::new(); |
| 487 | let change = create_test_change(); |
| 488 | let hash = Hash::of(b"test"); |
| 489 | let output = cmd.format_short(&change, &hash, Some(5)); |
| 490 | |
| 491 | assert!(output.contains("Test change message")); |
| 492 | assert!(output.contains("#5")); |
| 493 | assert!(output.contains("Test User")); |
| 494 | } |
| 495 | |
| 496 | #[test] |
| 497 | fn test_format_short_no_sequence() { |
nothing calls this directly
no test coverage detected