kernel32/tests: Don't test the implementation details of the SList structure.

This commit is contained in:
Alexandre Julliard 2009-01-29 22:08:07 +01:00
parent b8712b7f8a
commit 3e88d45f7c
1 changed files with 1 additions and 4 deletions

View File

@ -197,7 +197,7 @@ static void test_slist(void)
int value;
} item1, item2, item3, *pitem;
SLIST_HEADER slist_header, test_header;
SLIST_HEADER slist_header;
PSLIST_ENTRY entry;
USHORT size;
@ -224,11 +224,8 @@ static void test_slist(void)
return;
}
memset(&test_header, 0, sizeof(test_header));
memset(&slist_header, 0xFF, sizeof(slist_header));
pInitializeSListHead(&slist_header);
ok(memcmp(&test_header, &slist_header, sizeof(SLIST_HEADER)) == 0,
"InitializeSListHead didn't zero-fill list header\n");
size = pQueryDepthSList(&slist_header);
ok(size == 0, "initially created slist has size %d, expected 0\n", size);