()
| 452 | |
| 453 | #[test] |
| 454 | fn test_format_short_basic() { |
| 455 | let cmd = ChangeCmd::new(); |
| 456 | let change = create_test_change(); |
| 457 | let hash = Hash::of(b"test"); |
| 458 | let output = cmd.format_short(&change, &hash, Some(5)); |
| 459 | |
| 460 | assert!(output.contains("Test change message")); |
| 461 | assert!(output.contains("#5")); |
| 462 | assert!(output.contains("Test User")); |
| 463 | } |
| 464 | |
| 465 | #[test] |
| 466 | fn test_format_short_no_sequence() { |
nothing calls this directly
no test coverage detected