Fix flaky test AddReturnToUnusedLastExpressionInFunction/Nothing
This commit is contained in:
+1
-1
@@ -2,5 +2,5 @@
|
|||||||
// ACTION: Add '@Throws' annotation
|
// ACTION: Add '@Throws' annotation
|
||||||
|
|
||||||
fun test(): Nothing {
|
fun test(): Nothing {
|
||||||
<caret>throw RuntimeException("test")
|
<caret>throw Throwable("Error")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user