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

Function test_json_author_clone

atomic-cli/src/commands/change/tests.rs:764–772  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

762
763 #[test]
764 fn test_json_author_clone() {
765 let author = JsonAuthor {
766 name: "Alice".to_string(),
767 email: Some("alice@test.com".to_string()),
768 };
769 let cloned = author.clone();
770 assert_eq!(author.name, cloned.name);
771 assert_eq!(author.email, cloned.email);
772 }
773
774 #[test]
775 fn test_json_hunk_summary_clone() {

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected