From 85d191937bedf165ed80d40d0833f058a21991a1 Mon Sep 17 00:00:00 2001 From: Jeff Latimer Date: Sun, 6 Jul 2008 13:54:16 +1000 Subject: [PATCH] usp10/tests: Remove incorrect tests. --- dlls/usp10/tests/usp10.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/dlls/usp10/tests/usp10.c b/dlls/usp10/tests/usp10.c index 3902e2ba620..070590468eb 100644 --- a/dlls/usp10/tests/usp10.c +++ b/dlls/usp10/tests/usp10.c @@ -486,19 +486,17 @@ static void test_ScriptTextOut(HDC hdc) "got %08x\n", hr); ok( psc == NULL, "Expected psc to be NULL, got %p\n", psc); - /* Set psc to NULL, to be able to check if a pointer is returned in psc - * hdc is required for this one rather than the usual optional */ + /* hdc is required for this one rather than the usual optional */ psc = NULL; hr = ScriptTextOut(NULL, &psc, 0, 0, 0, NULL, &pItem[0].a, NULL, 0, pwOutGlyphs1, pcGlyphs, piAdvance, NULL, pGoffset); ok( hr == E_INVALIDARG, "(NULL,&psc,), expected E_INVALIDARG, got %08x\n", hr); ok( psc == NULL, "Expected psc to be NULL, got %p\n", psc); - /* Set that is gets a psc and that returns 0 status */ + /* Set that it returns 0 status */ hr = ScriptTextOut(hdc, &psc, 0, 0, 0, NULL, &pItem[0].a, NULL, 0, pwOutGlyphs1, pcGlyphs, piAdvance, NULL, pGoffset); ok (hr == 0, "ScriptTextOut should return 0 not (%08x)\n", hr); - ok (psc == NULL, "psc should be null\n"); /* Test Rect Rgn is acceptable */ rect.top = 10; @@ -508,7 +506,6 @@ static void test_ScriptTextOut(HDC hdc) hr = ScriptTextOut(hdc, &psc, 0, 0, 0, &rect, &pItem[0].a, NULL, 0, pwOutGlyphs1, pcGlyphs, piAdvance, NULL, pGoffset); ok (hr == 0, "ScriptTextOut should return 0 not (%08x)\n", hr); - ok (psc == NULL, "psc should be null\n"); iCP = 1; hr = ScriptCPtoX(iCP, fTrailing, cChars, pcGlyphs, (const WORD *) &pwLogClust, -- 2.11.4.GIT