[WIN32KNT_APITEST]: Make a test for NtUserGetClassInfo more strict to test its exact...
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Mon, 13 Feb 2017 09:56:35 +0000 (09:56 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Mon, 13 Feb 2017 09:56:35 +0000 (09:56 +0000)
svn path=/trunk/; revision=73786

rostests/apitests/win32nt/ntuser/NtUserCreateWindowEx.c

index d8d1533..45d9ea6 100644 (file)
@@ -213,7 +213,7 @@ START_TEST(NtUserCreateWindowEx)
     TEST(res.hIconSm == wclex.hIconSm);
 
     /* Get versioned class info */
-    TEST(NtUserGetClassInfo(hinst, &ver_cls, &res, &pwstr, 0) != 0);
+    TEST(NtUserGetClassInfo(hinst, &ver_cls, &res, &pwstr, 0) == atom2);
     TEST(GetLastError() == 0);
     TEST(res.cbSize == wclex2.cbSize);
     TEST(res.style == wclex2.style);