try to fix failing tests

This commit is contained in:
Dmitry Batkovich
2017-02-22 22:43:52 +03:00
parent 5101414a94
commit f76d573aba
@@ -59,7 +59,7 @@ fun runInEdtAndWait(runnable: () -> Unit) {
}
else {
try {
SwingUtilities.invokeAndWait(runnable)
SwingUtilities.invokeAndWait({ runnable() })
}
catch (e: InvocationTargetException) {
throw e.cause ?: e