We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52a94b6 commit 9e6de1dCopy full SHA for 9e6de1d
tmc-langs-plugins/src/tmc_zip.rs
@@ -326,12 +326,7 @@ mod test {
326
#[cfg(windows)]
327
#[test]
328
fn windows_paths_get_converted() {
329
- let win_path = PathBuf::from(r"tests\data\dir");
330
- let zipped = zip(
331
- EverythingIsStudentFilePolicy::new(&win_path).unwrap(),
332
- &win_path,
333
- )
334
- .unwrap();
+ let zipped = file_util::read_file("tests/data/zip/compressed.zip").unwrap();
335
let mut ziparch = ZipArchive::new(Cursor::new(zipped)).unwrap();
336
assert!(ziparch.len() > 0);
337
for i in 0..ziparch.len() {
0 commit comments