[Native][tests] Move golden data outside of Gradle build file
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||
* that can be found in the LICENSE file.
|
||||
*/
|
||||
|
||||
|
||||
inline fun foo() {
|
||||
try {
|
||||
try {
|
||||
throw Exception("XXX")
|
||||
} catch (e: Throwable) {
|
||||
println("Gotcha1: ${e.message}")
|
||||
throw Exception("YYY")
|
||||
}
|
||||
} catch (e: Throwable) {
|
||||
println("Gotcha2: ${e.message}")
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||
* that can be found in the LICENSE file.
|
||||
*/
|
||||
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
foo()
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
Gotcha1: XXX
|
||||
Gotcha2: YYY
|
||||
Reference in New Issue
Block a user