Commit d5a54642 authored by Alexandre Julliard's avatar Alexandre Julliard

shell32/tests: Fix broken check of the ok() macro return value.

Spotted by Yann Droneaud.
parent d2792275
...@@ -126,9 +126,8 @@ START_TEST(autocomplete) ...@@ -126,9 +126,8 @@ START_TEST(autocomplete)
return; return;
createMainWnd(); createMainWnd();
ok(hMainWnd != NULL, "Failed to create parent window. Tests aborted.\n");
if(!ok(hMainWnd != NULL, "Failed to create parent window. Tests aborted.\n")) if (!hMainWnd) return;
return;
ac = test_init(); ac = test_init();
if (!ac) if (!ac)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment