1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/v/tests/match_expr_with_one_branch_test.v
2021-03-10 18:44:32 +02:00

13 lines
114 B
V

enum Color {
red
}
fn test_match_one_branch() {
col := Color.red
match col {
.red {
assert true
}
}
}