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