Test data: replace Exception with Throwable (in those tests where particular exception type is not crucial in order not to rename tests to have runtime dependency added with exception typealiases).
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ fun test(<warning>l</warning> : List<Int>) {
|
||||
try {
|
||||
// ...
|
||||
}
|
||||
catch(e: Exception) {
|
||||
catch(e: Throwable) {
|
||||
System.out.println(e.message)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user