szip: fix szip_test (#6980)
parent
22c173c1dc
commit
64fa5e6383
|
@ -2,8 +2,12 @@ import szip
|
||||||
import os
|
import os
|
||||||
|
|
||||||
fn test_compile() {
|
fn test_compile() {
|
||||||
szip.open('test_compile.zip', szip.best_speed, szip.m_write) or {
|
mut z := szip.open('test_compile.zip', szip.best_speed, szip.m_write) or {
|
||||||
assert false
|
assert false
|
||||||
|
return
|
||||||
|
}
|
||||||
|
defer {
|
||||||
|
z.close()
|
||||||
|
os.rm('test_compile.zip') or { }
|
||||||
}
|
}
|
||||||
os.rm('test_compile.zip') or { }
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue