()
| 1012 | |
| 1013 | #[test] |
| 1014 | fn test_inline_diff_all_deleted() { |
| 1015 | let diff = compute_inline_diff(b"hello world", b""); |
| 1016 | assert!(diff.has_changes()); |
| 1017 | assert!(diff.deleted_bytes() > 0); |
| 1018 | assert_eq!(diff.inserted_bytes(), 0); |
| 1019 | } |
| 1020 | |
| 1021 | #[test] |
| 1022 | fn test_inline_diff_all_inserted() { |
nothing calls this directly
no test coverage detected