From 8fa1a24edce971bfce4551e16fcdb987566f7db3 Mon Sep 17 00:00:00 2001 From: Katayama Hirofumi MZ Date: Tue, 22 Jan 2019 21:12:19 +0900 Subject: [PATCH] [APITESTS][WIN32KNT_APITEST] Improve NtGdiGetFontResourceInfoInternalW testcase (#1290) Use ok macro instead of obsolete TEST macro. --- .../apitests/win32nt/ntgdi/NtGdiGetFontResourceInfoInternalW.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/rostests/apitests/win32nt/ntgdi/NtGdiGetFontResourceInfoInternalW.c b/modules/rostests/apitests/win32nt/ntgdi/NtGdiGetFontResourceInfoInternalW.c index 35541c78d46..0eae92cd221 100644 --- a/modules/rostests/apitests/win32nt/ntgdi/NtGdiGetFontResourceInfoInternalW.c +++ b/modules/rostests/apitests/win32nt/ntgdi/NtGdiGetFontResourceInfoInternalW.c @@ -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); } -