()
| 1019 | |
| 1020 | #[test] |
| 1021 | fn test_word_diff_all_deleted() { |
| 1022 | let result = word_diff(b"hello world", b""); |
| 1023 | assert!(result.has_changes()); |
| 1024 | assert_eq!(result.insertions(), 0); |
| 1025 | assert!(result.deletions() > 0); |
| 1026 | } |
| 1027 | |
| 1028 | #[test] |
| 1029 | fn test_word_diff_single_word_change() { |
nothing calls this directly
no test coverage detected