()
| 730 | |
| 731 | #[test] |
| 732 | fn test_compare_result_clone() { |
| 733 | let result = CompareResult::with_diff( |
| 734 | Encoding::Utf8, |
| 735 | Encoding::Utf8, |
| 736 | vec![DiffOp::Insert { |
| 737 | old_pos: 0, |
| 738 | new_pos: 0, |
| 739 | len: 1, |
| 740 | }], |
| 741 | ); |
| 742 | let cloned = result.clone(); |
| 743 | |
| 744 | assert_eq!(result, cloned); |
| 745 | } |
| 746 | |
| 747 | #[test] |
| 748 | fn test_compare_result_debug() { |