[PATCH 2/6] d3dx9/tests: Fix a couple of ok() messages.

Matteo Bruni mbruni at codeweavers.com
Wed Jan 23 18:10:57 CST 2019


Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
---
 dlls/d3dx9_36/tests/effect.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/d3dx9_36/tests/effect.c b/dlls/d3dx9_36/tests/effect.c
index 5fd922747aa..8f2f06b1de4 100644
--- a/dlls/d3dx9_36/tests/effect.c
+++ b/dlls/d3dx9_36/tests/effect.c
@@ -343,7 +343,7 @@ static void test_create_effect_and_pool(IDirect3DDevice9 *device)
 
     hr = pool->lpVtbl->QueryInterface(pool, &IID_ID3DXEffectPool, (void **)&pool2);
     ok(hr == D3D_OK, "Got result %x, expected 0 (D3D_OK)\n", hr);
-    ok(pool == pool2, "Release failed, got %p, expected %p\n", pool2, pool);
+    ok(pool == pool2, "Got effect pool %p, expected %p.\n", pool2, pool);
 
     count = pool2->lpVtbl->Release(pool2);
     ok(count == 1, "Release failed, got %u, expected 1\n", count);
@@ -359,7 +359,7 @@ static void test_create_effect_and_pool(IDirect3DDevice9 *device)
 
     hr = effect->lpVtbl->GetPool(effect, &pool);
     ok(hr == D3D_OK, "GetPool failed, got %x, expected 0 (D3D_OK)\n", hr);
-    ok(pool == pool2, "GetPool failed, got %p, expected %p\n", pool2, pool);
+    ok(pool == pool2, "Got effect pool %p, expected %p.\n", pool2, pool);
 
     count = pool2->lpVtbl->Release(pool2);
     ok(count == 2, "Release failed, got %u, expected 2\n", count);
-- 
2.19.2




More information about the wine-devel mailing list