Commit baac1703 authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

combase/tests: Remove a no longer useful test.

Microsoft changed the behavior from returning NULL into returning a valid pointer. Signed-off-by: 's avatarDetlef Riekenberg <wine.dev@web.de> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent fe4f0068
...@@ -227,7 +227,6 @@ static void test_string_buffer(void) ...@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment