Commit d46205a3 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

shell32/tests: Avoid sizeof in a trace.

parent 75ec0970
...@@ -541,8 +541,7 @@ static void test_items(void) ...@@ -541,8 +541,7 @@ static void test_items(void)
count = -1; count = -1;
r = FolderItems_get_Count(items, &count); r = FolderItems_get_Count(items, &count);
ok(r == S_OK, "FolderItems::get_Count failed: %08x\n", r); ok(r == S_OK, "FolderItems::get_Count failed: %08x\n", r);
ok(count == sizeof(file_defs)/sizeof(file_defs[0]), ok(count == ARRAY_SIZE(file_defs), "got %d files\n", count);
"expected %d files, got %d\n", (LONG)(sizeof(file_defs)/sizeof(file_defs[0])), count);
V_VT(&var) = VT_EMPTY; V_VT(&var) = VT_EMPTY;
item = (FolderItem*)0xdeadbeef; item = (FolderItem*)0xdeadbeef;
......
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