checker: cleanup and move test files to tests directory (#22870)

This commit is contained in:
yuyi 2024-11-16 14:01:08 +08:00 committed by GitHub
parent c4fd61cec7
commit 4dce49da4e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 12 deletions

View File

@ -1,12 +0,0 @@
vlib/v/checker/or_block_assert_err.vv:10:22: error: last statement in the `or {}` block should be an expression of type `int` or exit parent scope
8 |
9 | f() or { assert true }
10 | a := f() or { assert true }
| ~~~~~~
11 | dump(a)
12 | g(f() or { assert true })
vlib/v/checker/or_block_assert_err.vv:12:19: error: last statement in the `or {}` block should be an expression of type `int` or exit parent scope
10 | a := f() or { assert true }
11 | dump(a)
12 | g(f() or { assert true })
| ~~~~~~

View File

@ -0,0 +1,12 @@
vlib/v/checker/tests/or_block_assert_err.vv:10:22: error: last statement in the `or {}` block should be an expression of type `int` or exit parent scope
8 |
9 | f() or { assert true }
10 | a := f() or { assert true }
| ~~~~~~
11 | dump(a)
12 | g(f() or { assert true })
vlib/v/checker/tests/or_block_assert_err.vv:12:19: error: last statement in the `or {}` block should be an expression of type `int` or exit parent scope
10 | a := f() or { assert true }
11 | dump(a)
12 | g(f() or { assert true })
| ~~~~~~