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

Function test_format_short_no_message

atomic-cli/src/commands/log/tests.rs:1133–1139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1131
1132 #[test]
1133 fn test_format_short_no_message() {
1134 let log = Log::new();
1135 let entry = create_test_entry_without_header();
1136 let output = log.format_short(&[entry], 8);
1137
1138 assert!(output.contains("(no message)"));
1139 }
1140
1141 #[test]
1142 fn test_format_oneline_long_author_name_truncated() {

Callers

nothing calls this directly

Calls 2

format_shortMethod · 0.45

Tested by

no test coverage detected