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

tests: fix diff.color_compare_strings parameter order in test files, to make analysing the results easier

This commit is contained in:
Delyan Angelov
2023-07-29 16:41:02 +03:00
parent 112a1278bb
commit 1c2b4e76dc
4 changed files with 5 additions and 5 deletions

View File

@ -71,7 +71,7 @@ fn print_compare(expected string, found string) {
println(found)
println('============\n')
println('diff:')
println(diff.color_compare_strings(diff_cmd, rand.ulid(), found, expected))
println(diff.color_compare_strings(diff_cmd, rand.ulid(), expected, found))
println('============\n')
}

View File

@ -52,7 +52,7 @@ fn check_path(vexe string, dir string, tests []string) int {
println(found)
println('============\n')
println('diff:')
println(diff.color_compare_strings(diff_cmd, rand.ulid(), found, expected))
println(diff.color_compare_strings(diff_cmd, rand.ulid(), expected, found))
println('============\n')
nb_fail++
} else {