Skip to content

Commit 083a2fe

Browse files
authored
Merge pull request #1235 from matthiasblaesing/fix-unittest
Fix broken unittests by 7372ba5
2 parents d170c38 + b380e86 commit 083a2fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/platform/test/com/sun/jna/platform/win32/User32WindowMessagesTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ public LRESULT callback(HWND hwnd, int uMsg, WPARAM wParam, LPARAM lParam) {
294294

295295
public HWND determineHWNDFromWindowClass(String windowClass) {
296296
CallBackFindWindowHandleByWindowclass cb = new CallBackFindWindowHandleByWindowclass(windowClass);
297-
assertCallSucceeded("Find HWND for " + windowClass, User32.INSTANCE.EnumWindows(cb, null));
297+
User32.INSTANCE.EnumWindows(cb, null);
298298
return cb.getFoundHwnd();
299299

300300
}

0 commit comments

Comments
 (0)