Detlef Riekenberg : combase/tests: Remove a no longer useful test.

Alexandre Julliard julliard at winehq.org
Thu Apr 4 15:38:09 CDT 2019


Module: wine
Branch: master
Commit: baac17030cfb9d6aec5549125f117c5ff47c0b86
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=baac17030cfb9d6aec5549125f117c5ff47c0b86

Author: Detlef Riekenberg <wine.dev at web.de>
Date:   Wed Apr  3 17:43:39 2019 +0200

combase/tests: Remove a no longer useful test.

Microsoft changed the behavior from returning NULL into returning a valid pointer.

Signed-off-by: Detlef Riekenberg <wine.dev at web.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/combase/tests/string.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/combase/tests/string.c b/dlls/combase/tests/string.c
index 7a705da..04d0f3e 100644
--- a/dlls/combase/tests/string.c
+++ b/dlls/combase/tests/string.c
@@ -227,7 +227,6 @@ static void test_string_buffer(void)
 
     /* Test creation of an empty buffer */
     ok(pWindowsPreallocateStringBuffer(0, &ptr, &buf) == S_OK, "Failed to preallocate string buffer\n");
-    ok(buf == NULL, "Empty string buffer isn't a null string\n");
     ok(ptr != NULL, "Empty string didn't return a buffer pointer\n");
     ok(pWindowsPromoteStringBuffer(buf, &str) == S_OK, "Failed to promote string buffer\n");
     ok(str == NULL, "Empty string isn't a null string\n");




More information about the wine-cvs mailing list