v2 / vlib / v / tests / skip_unused / assert_works_test.vv
8 lines · 7 sloc · 155 bytes · 42ac6885dfc3d5b875fa5fd9d8a88b367f04313a
Raw
1fn test_abc() {
2 assert 'abc' == 'xyz'
3}
4
5fn test_index_expr() {
6 example_string := 'This is an example string'
7 assert example_string[1..4] == 'abcdef'
8}
9