[APITESTS][WIN32KNT_APITEST] Improve NtGdiGetFontResourceInfoInternalW testcase ...
authorKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Tue, 22 Jan 2019 12:12:19 +0000 (21:12 +0900)
committerGitHub <noreply@github.com>
Tue, 22 Jan 2019 12:12:19 +0000 (21:12 +0900)
Use ok macro instead of obsolete TEST macro.

modules/rostests/apitests/win32nt/ntgdi/NtGdiGetFontResourceInfoInternalW.c

index 35541c7..0eae92c 100644 (file)
@@ -31,7 +31,7 @@ START_TEST(NtGdiGetFontResourceInfoInternalW)
                &logfont,
                2);
 
-       TEST(bRet != FALSE);
+       ok(bRet != FALSE, "bRet was not FALSE.\n");
 
        printf("lfHeight = %ld\n", logfont.lfHeight);
        printf("lfWidth = %ld\n", logfont.lfWidth);
@@ -40,4 +40,3 @@ START_TEST(NtGdiGetFontResourceInfoInternalW)
 //     RemoveFontResourceW(szFullFileName);
 
 }
-