From daf8df9e4bde255f735502c712235f0035a1da74 Mon Sep 17 00:00:00 2001 From: Dmitry Gridin Date: Tue, 19 Mar 2019 11:29:53 +0700 Subject: [PATCH] Fix flaky test AddReturnToUnusedLastExpressionInFunction/Nothing --- .../addReturnToUnusedLastExpressionInFunction/nothing.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idea/testData/quickfix/addReturnToUnusedLastExpressionInFunction/nothing.kt b/idea/testData/quickfix/addReturnToUnusedLastExpressionInFunction/nothing.kt index f0263086518..051d4090b4c 100644 --- a/idea/testData/quickfix/addReturnToUnusedLastExpressionInFunction/nothing.kt +++ b/idea/testData/quickfix/addReturnToUnusedLastExpressionInFunction/nothing.kt @@ -2,5 +2,5 @@ // ACTION: Add '@Throws' annotation fun test(): Nothing { - throw RuntimeException("test") + throw Throwable("Error") }