1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/szip/szip_test.v

15 lines
205 B
V
Raw Normal View History

2020-09-06 16:04:27 +03:00
import szip
import os
fn test_szip() {
2020-11-27 23:20:43 +03:00
mut z := szip.open('test_compile.zip', szip.best_speed, szip.m_write) or {
2020-09-06 16:04:27 +03:00
assert false
2020-11-27 23:20:43 +03:00
return
}
defer {
z.close()
os.rm('test_compile.zip') or { }
2020-09-06 16:04:27 +03:00
}
}