From 6574eca393b28584800592b23fc37bf6a744f7a2 Mon Sep 17 00:00:00 2001 From: Evgeny Gerashchenko Date: Wed, 16 Jan 2013 15:34:27 +0400 Subject: [PATCH] Fixed test after introducing new warning. --- compiler/testData/diagnostics/tests/When.kt | 2 +- idea/testData/checker/When.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/testData/diagnostics/tests/When.kt b/compiler/testData/diagnostics/tests/When.kt index 7cded35b7e3..e557c385a29 100644 --- a/compiler/testData/diagnostics/tests/When.kt +++ b/compiler/testData/diagnostics/tests/When.kt @@ -6,7 +6,7 @@ fun foo() : Int { when (x) { is String -> 1 !is Int -> 1 - is Any? -> 1 + is Any? -> 1 s -> 1 1 -> 1 1 + a -> 1 diff --git a/idea/testData/checker/When.kt b/idea/testData/checker/When.kt index 48adeae647d..33bf192ed99 100644 --- a/idea/testData/checker/When.kt +++ b/idea/testData/checker/When.kt @@ -6,7 +6,7 @@ fun foo() : Int { when (x) { is String -> 1 !is Int -> 1 - is Any? -> 1 + is Any? -> 1 s -> 1 1 -> 1 1 + a -> 1