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

Function test_json_author_clone

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

Source from the content-addressed store, hash-verified

1075
1076 #[test]
1077 fn test_json_author_clone() {
1078 let author = JsonAuthor {
1079 name: "Alice".to_string(),
1080 email: Some("alice@test.com".to_string()),
1081 };
1082 let cloned = author.clone();
1083
1084 assert_eq!(author.name, cloned.name);
1085 assert_eq!(author.email, cloned.email);
1086 }
1087
1088 #[test]
1089 fn test_json_log_entry_clone() {

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected