vcomp/tests: Print the correct variable in ok() message.
Sebastian Lackner
sebastian at fds-team.de
Thu Jul 30 00:11:12 CDT 2015
---
dlls/vcomp/tests/vcomp.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/vcomp/tests/vcomp.c b/dlls/vcomp/tests/vcomp.c
index f021a72..6f9f75e 100644
--- a/dlls/vcomp/tests/vcomp.c
+++ b/dlls/vcomp/tests/vcomp.c
@@ -607,7 +607,7 @@ static void CDECL for_static_simple_cb(void)
p_vcomp_for_static_simple_init(tests[i].first, tests[i].last, tests[i].step, FALSE, &begin, &end);
ok(begin == my_begin, "test %d, thread %d/%d: expected begin == %u, got %u\n",
- i, thread_num, num_threads, my_begin, end);
+ i, thread_num, num_threads, my_begin, begin);
ok(end == my_end, "test %d, thread %d/%d: expected end == %u, got %u\n",
i, thread_num, num_threads, my_end, end);
@@ -619,7 +619,7 @@ static void CDECL for_static_simple_cb(void)
p_vcomp_for_static_simple_init(tests[i].first, tests[i].last, tests[i].step, TRUE, &begin, &end);
ok(begin == my_begin, "test %d, thread %d/%d: expected begin == %u, got %u\n",
- i, thread_num, num_threads, my_begin, end);
+ i, thread_num, num_threads, my_begin, begin);
ok(end == my_end, "test %d, thread %d/%d: expected end == %u, got %u\n",
i, thread_num, num_threads, my_end, end);
@@ -633,7 +633,7 @@ static void CDECL for_static_simple_cb(void)
p_vcomp_for_static_simple_init(tests[i].last, tests[i].first, tests[i].step, FALSE, &begin, &end);
ok(begin == my_begin, "test %d, thread %d/%d: expected begin == %u, got %u\n",
- i, thread_num, num_threads, my_begin, end);
+ i, thread_num, num_threads, my_begin, begin);
ok(end == my_end, "test %d, thread %d/%d: expected end == %u, got %u\n",
i, thread_num, num_threads, my_end, end);
@@ -645,7 +645,7 @@ static void CDECL for_static_simple_cb(void)
p_vcomp_for_static_simple_init(tests[i].last, tests[i].first, tests[i].step, TRUE, &begin, &end);
ok(begin == my_begin, "test %d, thread %d/%d: expected begin == %u, got %u\n",
- i, thread_num, num_threads, my_begin, end);
+ i, thread_num, num_threads, my_begin, begin);
ok(end == my_end, "test %d, thread %d/%d: expected end == %u, got %u\n",
i, thread_num, num_threads, my_end, end);
--
2.4.5
More information about the wine-patches
mailing list