mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
parser: stay silent about unused variables starting with _
This commit is contained in:
@ -112,11 +112,11 @@ fn test_no_line_ending() {
|
||||
|
||||
mut row_count := 0
|
||||
for {
|
||||
row := csv_reader.read() or {
|
||||
_row := csv_reader.read() or {
|
||||
break
|
||||
}
|
||||
row_count++
|
||||
}
|
||||
|
||||
assert row_count == 2
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user