From: Giannis Adamopoulos Date: Mon, 13 Feb 2017 09:56:35 +0000 (+0000) Subject: [WIN32KNT_APITEST]: Make a test for NtUserGetClassInfo more strict to test its exact... X-Git-Tag: ReactOS-0.4.4-CLT2017~303 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=6f9bc0e872d998d74d6102c7693d0739dad55535 [WIN32KNT_APITEST]: Make a test for NtUserGetClassInfo more strict to test its exact return value. svn path=/trunk/; revision=73786 --- diff --git a/rostests/apitests/win32nt/ntuser/NtUserCreateWindowEx.c b/rostests/apitests/win32nt/ntuser/NtUserCreateWindowEx.c index d8d153350ec..45d9ea6fe3e 100644 --- a/rostests/apitests/win32nt/ntuser/NtUserCreateWindowEx.c +++ b/rostests/apitests/win32nt/ntuser/NtUserCreateWindowEx.c @@ -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);