Module: wine Branch: master Commit: baac17030cfb9d6aec5549125f117c5ff47c0b86 URL: https://source.winehq.org/git/wine.git/?a=commit;h=baac17030cfb9d6aec5549125...
Author: Detlef Riekenberg wine.dev@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@web.de Signed-off-by: Alexandre Julliard julliard@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");