diff --git a/compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt b/compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt index ffddb756eb7..e41d2c4a1dd 100644 --- a/compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt +++ b/compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt @@ -20,7 +20,7 @@ fun first(arg: Int) = when (arg) { 1 -> 6 2 -> 7 // Error should be here: see KT-11971 - four -> 8 + four -> 8 else -> 0 } diff --git a/compiler/testData/diagnostics/tests/when/When.kt b/compiler/testData/diagnostics/tests/when/When.kt index a04cb887c8f..e73872c2a5f 100644 --- a/compiler/testData/diagnostics/tests/when/When.kt +++ b/compiler/testData/diagnostics/tests/when/When.kt @@ -43,7 +43,7 @@ fun test() { s -> 1 "" -> 1 x -> 1 - 1 -> 1 + 1 -> 1 } val z = 1