1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

tests: make error handling the same as the main function (#15825)

This commit is contained in:
yuyi
2022-09-22 00:45:43 +08:00
committed by GitHub
parent 391ac12fe2
commit 41dbd12bc4
69 changed files with 193 additions and 192 deletions

View File

@@ -14,7 +14,7 @@ fn find_diff_cmd() string {
return diff.find_working_diff_command() or { '' }
}
fn test_vet() ? {
fn test_vet() {
os.setenv('VCOLORS', 'never', true)
os.chdir(vroot)?
test_dir := 'cmd/tools/vdoc/tests/testdata'