2020-09-06 15:04:27 +02:00
|
|
|
import szip
|
|
|
|
import os
|
|
|
|
|
2021-02-22 13:59:36 +01:00
|
|
|
fn test_szip() {
|
2021-02-22 19:02:45 +01:00
|
|
|
mut z := szip.open('test_compile.zip', .best_speed, .write) or {
|
2020-09-06 15:04:27 +02:00
|
|
|
assert false
|
2020-11-27 21:20:43 +01:00
|
|
|
return
|
|
|
|
}
|
|
|
|
defer {
|
|
|
|
z.close()
|
|
|
|
os.rm('test_compile.zip') or { }
|
2020-09-06 15:04:27 +02:00
|
|
|
}
|
|
|
|
}
|