Sebastian Lackner : vcomp/tests: Print the correct variable in ok() message.
Module: wine Branch: master Commit: 4bcdbe0982f11cf0ee74bf81ac49edceb87becaf URL: http://source.winehq.org/git/wine.git/?a=commit;h=4bcdbe0982f11cf0ee74bf81ac... Author: Sebastian Lackner <sebastian(a)fds-team.de> Date: Thu Jul 30 07:11:12 2015 +0200 vcomp/tests: Print the correct variable in ok() message. --- 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);
participants (1)
-
Alexandre Julliard