[PATCH] user32/tests: Don't report cursor handle since it always changes.

Mathew Hodson mathew.hodson at gmail.com
Fri Mar 27 20:02:11 CDT 2020


Signed-off-by: Mathew Hodson <mathew.hodson at gmail.com>
---
 dlls/user32/tests/cursoricon.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/user32/tests/cursoricon.c b/dlls/user32/tests/cursoricon.c
index ff4ab5d..d2265be 100644
--- a/dlls/user32/tests/cursoricon.c
+++ b/dlls/user32/tests/cursoricon.c
@@ -2332,7 +2332,7 @@ static void test_SetCursor(void)
         ok( pGetCursorInfo( &info ), "GetCursorInfo failed\n" );
         /* global cursor doesn't change since we don't have a window */
         ok( info.hCursor == global_cursor || broken(info.hCursor != cursor), /* win9x */
-            "wrong info cursor %p/%p\n", info.hCursor, global_cursor );
+            "expected global cursor %p\n", global_cursor );
     }
     thread = CreateThread( NULL, 0, set_cursor_thread, 0, 0, &id );
     WaitForSingleObject( thread, 1000 );
@@ -2364,7 +2364,7 @@ static void test_SetCursor(void)
         info.cbSize = sizeof(info);
         ok( pGetCursorInfo( &info ), "GetCursorInfo failed\n" );
         ok( info.hCursor == global_cursor || broken(info.hCursor != cursor), /* win9x */
-            "wrong info cursor %p/%p\n", info.hCursor, global_cursor );
+            "expected global cursor %p\n", global_cursor );
     }
     SetCursor( old_cursor );
     DestroyCursor( cursor );
@@ -2381,7 +2381,7 @@ static void test_SetCursor(void)
         info.cbSize = sizeof(info);
         ok( pGetCursorInfo( &info ), "GetCursorInfo failed\n" );
         ok( info.hCursor == global_cursor || broken(info.hCursor != cursor), /* win9x */
-            "wrong info cursor %p/%p\n", info.hCursor, global_cursor );
+            "expected global cursor %p\n", global_cursor );
     }
 }
 
-- 
2.7.4




More information about the wine-devel mailing list