()
| 773 | |
| 774 | #[test] |
| 775 | fn test_json_hunk_summary_clone() { |
| 776 | let summary = JsonHunkSummary { |
| 777 | hunk_type: "Edit".to_string(), |
| 778 | path: Some("file.rs".to_string()), |
| 779 | }; |
| 780 | let cloned = summary.clone(); |
| 781 | assert_eq!(summary.hunk_type, cloned.hunk_type); |
| 782 | assert_eq!(summary.path, cloned.path); |
| 783 | } |
| 784 | |
| 785 | #[test] |
| 786 | fn test_json_change_clone() { |