v/vlib/v/tests/for_in_optional_test.v

9 lines
129 B
V

import os
fn test_for_in_optional() {
for d in os.read_lines(@FILE) or { panic('not found') } {
println(d)
}
assert true
}