From e05b1d0aabada410fa009ad28f26b548424c2114 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Wed, 10 Sep 2008 23:01:52 -0500 Subject: [PATCH] setupapi: Remove a test of an undocumented function that is inconsistent across platforms. --- dlls/setupapi/tests/stringtable.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/dlls/setupapi/tests/stringtable.c b/dlls/setupapi/tests/stringtable.c index 1b8f2f40cb..6a07b18a98 100644 --- a/dlls/setupapi/tests/stringtable.c +++ b/dlls/setupapi/tests/stringtable.c @@ -159,7 +159,7 @@ static void test_StringTableLookUpString(void) static void test_StringTableStringFromId(void) { - WCHAR *string2, *string3; + WCHAR *string2; int result; /* correct */ @@ -168,13 +168,6 @@ static void test_StringTableStringFromId(void) result=lstrcmpiW(string, string2); ok(result==0,"StringID %p does not match requested StringID %p\n",string,string2); - - /* This should never work */ - string3=pStringTableStringFromId(table,0); - ok(string3!=NULL,"Failed to look up string by ID from String Table\n"); - - result=lstrcmpiW(string, string3); - ok(result!=0,"StringID %p matches requested StringID %p\n",string,string3); } START_TEST(stringtable)