()
| 1003 | |
| 1004 | #[test] |
| 1005 | fn test_inline_diff_identical() { |
| 1006 | let diff = compute_inline_diff(b"hello world", b"hello world"); |
| 1007 | assert!(!diff.has_changes()); |
| 1008 | assert!(diff.is_unchanged()); |
| 1009 | assert_eq!(diff.deleted_bytes(), 0); |
| 1010 | assert_eq!(diff.inserted_bytes(), 0); |
| 1011 | } |
| 1012 | |
| 1013 | #[test] |
| 1014 | fn test_inline_diff_all_deleted() { |
nothing calls this directly
no test coverage detected