()
| 797 | |
| 798 | #[test] |
| 799 | fn test_format_short_no_authors() { |
| 800 | let cmd = ChangeCmd::new(); |
| 801 | let change = Change::new( |
| 802 | ChangeHeader::builder().message("No author message").build(), |
| 803 | vec![], |
| 804 | vec![], |
| 805 | vec![], |
| 806 | ); |
| 807 | let hash = Hash::of(b"test"); |
| 808 | let output = cmd.format_short(&change, &hash, None); |
| 809 | |
| 810 | assert!(output.contains("(unknown)")); |
| 811 | } |
| 812 | |
| 813 | #[test] |
| 814 | fn test_format_json_with_dependencies() { |
nothing calls this directly
no test coverage detected