mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
6 lines
96 B
V
6 lines
96 B
V
fn test_filter_in_map() {
|
|
x := [['']]
|
|
y := x.map(it.filter(it != ''))
|
|
assert y[0].len == 0
|
|
}
|