mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
szip: fix szip_test (#6980)
This commit is contained in:
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…
x
Reference in New Issue
Block a user