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>
This commit is contained in:
Detlef Riekenberg 2019-04-03 17:43:39 +02:00 committed by Alexandre Julliard
parent fe4f00681e
commit baac17030c
1 changed files with 0 additions and 1 deletions

View File

@ -227,7 +227,6 @@ static void test_string_buffer(void)
/* Test creation of an empty buffer */ /* Test creation of an empty buffer */
ok(pWindowsPreallocateStringBuffer(0, &ptr, &buf) == S_OK, "Failed to preallocate string buffer\n"); 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(ptr != NULL, "Empty string didn't return a buffer pointer\n");
ok(pWindowsPromoteStringBuffer(buf, &str) == S_OK, "Failed to promote string buffer\n"); ok(pWindowsPromoteStringBuffer(buf, &str) == S_OK, "Failed to promote string buffer\n");
ok(str == NULL, "Empty string isn't a null string\n"); ok(str == NULL, "Empty string isn't a null string\n");