mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
14 lines
207 B
V
14 lines
207 B
V
import szip
|
|
import os
|
|
|
|
fn test_compile() {
|
|
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 { }
|
|
}
|
|
}
|