v/vlib/v/tests/filter_in_map_test.v

6 lines
96 B
V

fn test_filter_in_map() {
x := [['']]
y := x.map(it.filter(it != ''))
assert y[0].len == 0
}