mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
9 lines
129 B
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
|
|
}
|