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:1121–1127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1119
1120 #[test]
1121 fn test_format_short_no_message() {
1122 let log = Log::new();
1123 let entry = create_test_entry_without_header();
1124 let output = log.format_short(&[entry], 8);
1125
1126 assert!(output.contains("(no message)"));
1127 }
1128
1129 #[test]
1130 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