vq / vlib / v / fmt / tests / assert_extra_message_keep.vv
6 lines · 6 sloc · 109 bytes
Raw
1fn main() {
2 i := 123
3 assert 4 == 2 * 2
4 assert 2 == 6 / 3, 'math works'
5 assert 10 == i - 120, 'i: ${i}'
6}
7