mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 09:50:52 +00:00
advapi32/tests: Avoid sizeof() in traces.
This commit is contained in:
parent
abe79e3b52
commit
c8c22e1348
1 changed files with 1 additions and 3 deletions
|
@ -4187,9 +4187,7 @@ static void test_performance_keys(void)
|
||||||
ok(file_time.l >= systime1.QuadPart - 10000 && file_time.l <= systime2.QuadPart,
|
ok(file_time.l >= systime1.QuadPart - 10000 && file_time.l <= systime2.QuadPart,
|
||||||
"got times %I64d, %I64d, %I64d\n", systime1.QuadPart, file_time.l, systime2.QuadPart);
|
"got times %I64d, %I64d, %I64d\n", systime1.QuadPart, file_time.l, systime2.QuadPart);
|
||||||
|
|
||||||
ok(data->SystemNameLength == (sysname_len + 1) * sizeof(WCHAR),
|
ok(data->SystemNameLength == (sysname_len + 1) * sizeof(WCHAR), "got %lu\n", data->SystemNameLength);
|
||||||
"expected name len %Iu, got %lu\n",
|
|
||||||
(sysname_len + 1) * sizeof(WCHAR), data->SystemNameLength);
|
|
||||||
ok(data->SystemNameOffset == sizeof(PERF_DATA_BLOCK),
|
ok(data->SystemNameOffset == sizeof(PERF_DATA_BLOCK),
|
||||||
"got name offset %lu\n", data->SystemNameOffset);
|
"got name offset %lu\n", data->SystemNameOffset);
|
||||||
ok(!wcscmp(sysname, (const WCHAR *)(data + 1)), "expected name %s, got %s\n",
|
ok(!wcscmp(sysname, (const WCHAR *)(data + 1)), "expected name %s, got %s\n",
|
||||||
|
|
Loading…
Reference in a new issue