Mathew Hodson : user32/tests: Don't report cursor handle since it always changes.

Alexandre Julliard julliard at winehq.org
Mon Apr 6 15:53:21 CDT 2020


Module: wine
Branch: master
Commit: a8dee2a23f449adad2dc8ba96ad39c74d717fc4d
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=a8dee2a23f449adad2dc8ba96ad39c74d717fc4d

Author: Mathew Hodson <mathew.hodson at gmail.com>
Date:   Fri Mar 27 21:02:11 2020 -0400

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

Signed-off-by: Mathew Hodson <mathew.hodson at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 ff4ab5d875..d2265be9b1 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 );
     }
 }
 




More information about the wine-cvs mailing list