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

Function test_format_short_single_entry

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

Source from the content-addressed store, hash-verified

510
511 #[test]
512 fn test_format_short_single_entry() {
513 let log = Log::new();
514 let entry = create_test_entry_with_header();
515 let output = log.format_short(&[entry], 8);
516
517 assert!(output.contains("Test change message"));
518 assert!(output.ends_with('\n'));
519 }
520
521 #[test]
522 fn test_format_short_multiple_entries() {

Callers

nothing calls this directly

Calls 2

format_shortMethod · 0.45

Tested by

no test coverage detected