From 77f68e30f5208ba49d83aa89e1db2c01a5a4225b Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Wed, 24 Aug 2011 15:19:26 +0200 Subject: [PATCH] shlwapi/tests: Fix the spelling of IID_Endianness. --- dlls/shlwapi/tests/clsid.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/dlls/shlwapi/tests/clsid.c b/dlls/shlwapi/tests/clsid.c index 99bc18a808..cf9be96372 100644 --- a/dlls/shlwapi/tests/clsid.c +++ b/dlls/shlwapi/tests/clsid.c @@ -96,7 +96,7 @@ static const GUID * TEST_guids[] = { NULL }; -DEFINE_GUID(IID_Endianess, 0x01020304, 0x0506, 0x0708, 0x09, 0x0A, 0x0B, +DEFINE_GUID(IID_Endianness, 0x01020304, 0x0506, 0x0708, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x0A); static void test_ClassIDs(void) @@ -129,25 +129,25 @@ static void test_ClassIDs(void) } /* Test endianness */ - dwLen = pSHLWAPI_23(&IID_Endianess, szBuff, 256); - ok(dwLen == (is_vista ? S_OK : 39), "wrong size %u for IID_Endianess\n", dwLen); + dwLen = pSHLWAPI_23(&IID_Endianness, szBuff, 256); + ok(dwLen == (is_vista ? S_OK : 39), "wrong size %u for IID_Endianness\n", dwLen); ok(!strcmp(szBuff, "{01020304-0506-0708-090A-0B0C0D0E0F0A}"), - "Endianess Broken, got '%s'\n", szBuff); + "Endianness Broken, got '%s'\n", szBuff); /* test lengths */ szBuff[0] = ':'; - dwLen = pSHLWAPI_23(&IID_Endianess, szBuff, 0); + dwLen = pSHLWAPI_23(&IID_Endianness, szBuff, 0); ok(dwLen == (is_vista ? E_FAIL : 0), "accepted bad length\n"); ok(szBuff[0] == ':', "wrote to buffer with no length\n"); szBuff[0] = ':'; - dwLen = pSHLWAPI_23(&IID_Endianess, szBuff, 38); + dwLen = pSHLWAPI_23(&IID_Endianness, szBuff, 38); ok(dwLen == (is_vista ? E_FAIL : 0), "accepted bad length\n"); ok(szBuff[0] == ':', "wrote to buffer with no length\n"); szBuff[0] = ':'; - dwLen = pSHLWAPI_23(&IID_Endianess, szBuff, 39); + dwLen = pSHLWAPI_23(&IID_Endianness, szBuff, 39); ok(dwLen == (is_vista ? S_OK : 39), "rejected ok length\n"); ok(szBuff[0] == '{', "Didn't write to buffer with ok length\n"); @@ -156,7 +156,7 @@ static void test_ClassIDs(void) bRet = pSHLWAPI_269(szBuff, &guid); ok(bRet == FALSE, "accepted invalid string\n"); - dwLen = pSHLWAPI_23(&IID_Endianess, szBuff, 39); + dwLen = pSHLWAPI_23(&IID_Endianness, szBuff, 39); ok(dwLen == (is_vista ? S_OK : 39), "rejected ok length\n"); ok(szBuff[0] == '{', "Didn't write to buffer with ok length\n"); }