Adapt test infrastructure to the latest changes

^KT-43677 In Progress
This commit is contained in:
Denis.Zharkov
2020-11-30 20:15:15 +03:00
parent 1d873a1a73
commit cc0b584445
7 changed files with 23 additions and 10 deletions
@@ -1,3 +1,4 @@
// JVM_TARGET: 15_PREVIEW
// FILE: MyRec.java
public record MyRec(String name) implements KI {
public String getName() {
@@ -1,3 +1,4 @@
// JVM_TARGET: 15_PREVIEW
// FILE: MyRec.java
public record MyRec(String name) {
public String getName() {
@@ -1,3 +1,4 @@
// JVM_TARGET: 15_PREVIEW
// FILE: MyRec.java
public record MyRec(String name) {}
@@ -7,4 +8,4 @@ fun box(): String {
if (r.name() != "OK") return "fail 1"
return r.name
}
}