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

Function test_author_display_trait

atomic-core/src/change/header.rs:441–444  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

439
440 #[test]
441 fn test_author_display_trait() {
442 let author = Author::new("Alice", Some("alice@example.com"));
443 assert_eq!(format!("{}", author), "Alice <alice@example.com>");
444 }
445
446 #[test]
447 fn test_author_from_str_with_email() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected