[Test] Add ability to specify applicability of diagnostic to module or file

This commit is contained in:
Dmitriy Novozhilov
2021-01-15 14:54:05 +03:00
committed by TeamCityServer
parent 28cff22cd0
commit 6a7cd0c811
117 changed files with 266 additions and 189 deletions
@@ -1,7 +1,7 @@
// !LANGUAGE: -NullabilityAssertionOnExtensionReceiver
// TARGET_BACKEND: JVM
// FILE: test.kt
// WITH_RUNTIME
// FILE: test.kt
private operator fun A.inc() = A()
fun box(): String {
@@ -14,4 +14,4 @@ fun box(): String {
// FILE: A.java
public class A {
public static A n() { return null; }
}
}
@@ -1,7 +1,7 @@
// !LANGUAGE: -NullabilityAssertionOnExtensionReceiver
// TARGET_BACKEND: JVM
// FILE: test.kt
// WITH_RUNTIME
// FILE: test.kt
import kotlin.test.*