aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/old/vlib/v/fmt/tests/if_keep.vv
blob: 7e8166a1aed908543503b13849ff4d228a0ca223 (plain)
1
2
3
4
5
6
7
8
9
10
11
fn void_type_array_cond() {
	if fg == [] {
		stack.ctx.reset_color()
	}
}

fn multi_dimensional_array_cond() {
	if t.data == [][]string{} {
		return error('Table.data should not be empty.')
	}
}