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

Function test_format_author_empty_name

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

Source from the content-addressed store, hash-verified

999
1000 #[test]
1001 fn test_format_author_empty_name() {
1002 let author = Author::new("", Some("email@test.com"));
1003 let formatted = format_author(&author);
1004 assert_eq!(formatted, " <email@test.com>");
1005 }
1006
1007 #[test]
1008 fn test_log_format_debug() {

Callers

nothing calls this directly

Calls 1

format_authorFunction · 0.70

Tested by

no test coverage detected