From c03f813c872d790a7c77d81810aa0cac425f4abc Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Sun, 11 Sep 2011 20:19:35 +0400 Subject: [PATCH] shell32/tests: Make test explicit about return pointer. --- dlls/shell32/tests/shelldispatch.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dlls/shell32/tests/shelldispatch.c b/dlls/shell32/tests/shelldispatch.c index a2b649a02e9..2ccc364a2be 100644 --- a/dlls/shell32/tests/shelldispatch.c +++ b/dlls/shell32/tests/shelldispatch.c @@ -84,10 +84,12 @@ static void test_namespace(void) V_VT(&var) = VT_I4; V_I4(&var) = -1; + folder = (void*)0xdeadbeef; r = IShellDispatch_NameSpace(sd, var, &folder); - todo_wine + todo_wine { ok(r == S_FALSE, "expected S_FALSE, got %08x\n", r); - + ok(folder == NULL, "got %p\n", folder); +} V_VT(&var) = VT_I4; V_I4(&var) = ssfPROGRAMFILES; r = IShellDispatch_NameSpace(sd, var, &folder);