Add runtime dependency to tests where exception references are used.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
// "Suppress 'UNNECESSARY_NOT_NULL_ASSERTION' for statement " "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun foo() {
|
||||
for (i in list()<caret>!!) {}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Suppress 'UNNECESSARY_NOT_NULL_ASSERTION' for statement " "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun foo() {
|
||||
@Suppress("UNNECESSARY_NOT_NULL_ASSERTION")
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Suppress 'UNNECESSARY_NOT_NULL_ASSERTION' for statement " "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun foo(): Any {
|
||||
throw Exception(""<caret>!!)
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// "Suppress 'UNNECESSARY_NOT_NULL_ASSERTION' for statement " "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun foo(): Any {
|
||||
@Suppress("UNNECESSARY_NOT_NULL_ASSERTION")
|
||||
|
||||
Reference in New Issue
Block a user