MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_format_short_no_authors

Function test_format_short_no_authors

atomic-cli/src/commands/change/tests.rs:799–811  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 3

buildMethod · 0.45
messageMethod · 0.45
format_shortMethod · 0.45

Tested by

no test coverage detected