()
| 1180 | |
| 1181 | #[test] |
| 1182 | fn test_binary_file() { |
| 1183 | let wc = Memory::new(); |
| 1184 | let binary_data: Vec<u8> = (0..=255).collect(); |
| 1185 | wc.add_file("binary.bin", &binary_data); |
| 1186 | |
| 1187 | let contents = wc.get_file_contents("binary.bin").unwrap(); |
| 1188 | assert_eq!(contents, binary_data); |
| 1189 | } |
| 1190 | |
| 1191 | #[test] |
| 1192 | fn test_unicode_path() { |
nothing calls this directly
no test coverage detected