()
| 1171 | |
| 1172 | #[test] |
| 1173 | fn test_empty_file() { |
| 1174 | let wc = Memory::new(); |
| 1175 | wc.add_file("empty.txt", b""); |
| 1176 | |
| 1177 | let contents = wc.get_file_contents("empty.txt").unwrap(); |
| 1178 | assert!(contents.is_empty()); |
| 1179 | } |
| 1180 | |
| 1181 | #[test] |
| 1182 | fn test_binary_file() { |
nothing calls this directly
no test coverage detected