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

Function test_author_new_no_email

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

Source from the content-addressed store, hash-verified

416
417 #[test]
418 fn test_author_new_no_email() {
419 let author = Author::new("Bob", None::<String>);
420 assert_eq!(author.name, "Bob");
421 assert!(author.email.is_none());
422 }
423
424 #[test]
425 fn test_author_with_identity() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected