()
| 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() { |