v/vlib/szip/szip_test.v

14 lines
207 B
V
Raw Normal View History

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