From c362db73306e3da73da2c116881685d90b126bc6 Mon Sep 17 00:00:00 2001 From: Michael Nedzelsky Date: Mon, 18 May 2015 20:09:06 +0300 Subject: [PATCH] tests for decompiled texts: AssertionError -> RuntimeException --- .../ClassWithClassObject/ClassWithClassObject.kt | 2 +- idea/testData/decompiler/decompiledText/Object/Object.kt | 2 +- .../decompiler/decompiledText/SimpleClass/SimpleClass.kt | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/idea/testData/decompiler/decompiledText/ClassWithClassObject/ClassWithClassObject.kt b/idea/testData/decompiler/decompiledText/ClassWithClassObject/ClassWithClassObject.kt index 1727a517fef..fd0abaf2629 100644 --- a/idea/testData/decompiler/decompiledText/ClassWithClassObject/ClassWithClassObject.kt +++ b/idea/testData/decompiler/decompiledText/ClassWithClassObject/ClassWithClassObject.kt @@ -22,7 +22,7 @@ class ClassWithClassObject { get() = this + 2 fun complexFun(a: T, b: K, c: G): G { - throw AssertionError() + throw RuntimeException() } } } diff --git a/idea/testData/decompiler/decompiledText/Object/Object.kt b/idea/testData/decompiler/decompiledText/Object/Object.kt index b9908005c71..4d9edd2fc56 100644 --- a/idea/testData/decompiler/decompiledText/Object/Object.kt +++ b/idea/testData/decompiler/decompiledText/Object/Object.kt @@ -14,6 +14,6 @@ object Object { get() = this + 2 fun complexFun(a: T, b: K, c: G): G { - throw AssertionError() + throw RuntimeException() } } diff --git a/idea/testData/decompiler/decompiledText/SimpleClass/SimpleClass.kt b/idea/testData/decompiler/decompiledText/SimpleClass/SimpleClass.kt index 88c60204bb4..afa6aea58e3 100644 --- a/idea/testData/decompiler/decompiledText/SimpleClass/SimpleClass.kt +++ b/idea/testData/decompiler/decompiledText/SimpleClass/SimpleClass.kt @@ -7,7 +7,7 @@ abstract class SimpleClass: D(), Tr, List { } fun g(d: D): List> { - throw AssertionError() + throw RuntimeException() } fun Int.f() { @@ -24,6 +24,6 @@ abstract class SimpleClass: D(), Tr, List { get() = this + 2 fun complexFun(a: T, b: K, c: G): G { - throw AssertionError() + throw RuntimeException() } }