mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
15 lines
205 B
V
15 lines
205 B
V
import szip
|
|
import os
|
|
|
|
fn test_szip() {
|
|
mut z := szip.open('test_compile.zip', szip.best_speed, szip.m_write) or {
|
|
assert false
|
|
return
|
|
}
|
|
defer {
|
|
z.close()
|
|
os.rm('test_compile.zip') or { }
|
|
}
|
|
}
|
|
|