Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
---
dlls/user32/tests/edit.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/user32/tests/edit.c b/dlls/user32/tests/edit.c
index 34bb1e5a76e..6edec12e03b 100644
--- a/dlls/user32/tests/edit.c
+++ b/dlls/user32/tests/edit.c
@@ -2187,7 +2187,7 @@ static void test_espassword(void)
ok(strcmp(buffer, password) == 0, "expected %s, got %s\n", password, buffer);
r = OpenClipboard(hwEdit);
- ok(r == TRUE, "expected %d, got %d\n", TRUE, r);
+ ok(r == TRUE, "expected %d, got %d le=%u\n", TRUE, r, GetLastError());
r = EmptyClipboard();
ok(r == TRUE, "expected %d, got %d\n", TRUE, r);
r = CloseClipboard();
@@ -3190,7 +3190,7 @@ static void test_paste(void)
GlobalUnlock(hmem);
r = OpenClipboard(hEdit);
- ok(r == TRUE, "expected %d, got %d\n", TRUE, r);
+ ok(r == TRUE, "expected %d, got %d le=%u\n", TRUE, r, GetLastError());
r = EmptyClipboard();
ok(r == TRUE, "expected %d, got %d\n", TRUE, r);
hmem_ret = SetClipboardData(CF_TEXT, hmem);
@@ -3213,7 +3213,7 @@ static void test_paste(void)
GlobalUnlock(hmem);
r = OpenClipboard(hEdit);
- ok(r == TRUE, "expected %d, got %d\n", TRUE, r);
+ ok(r == TRUE, "expected %d, got %d le=%u\n", TRUE, r, GetLastError());
r = EmptyClipboard();
ok(r == TRUE, "expected %d, got %d\n", TRUE, r);
hmem_ret = SetClipboardData(CF_TEXT, hmem);
--
2.20.1