From 86c83a6336410cbbb4334f0f0df9e7d02740403f Mon Sep 17 00:00:00 2001 From: Andrey Breslav Date: Thu, 13 Oct 2011 18:09:12 +0400 Subject: [PATCH] Tests fixed, request KT-358 submitted --- .../checkerWithErrorTypes/full/BreakContinue.jet | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/idea/testData/checkerWithErrorTypes/full/BreakContinue.jet b/idea/testData/checkerWithErrorTypes/full/BreakContinue.jet index b26847730e4..1cecda9dae9 100644 --- a/idea/testData/checkerWithErrorTypes/full/BreakContinue.jet +++ b/idea/testData/checkerWithErrorTypes/full/BreakContinue.jet @@ -29,7 +29,7 @@ class C { while (a == null) { break; } - a?.compareTo("2") + a.compareTo("2") } fun notContainsBreak(a: String?, b: String?) { @@ -38,7 +38,7 @@ class C { break; } } - a?.compareTo("2") + a.compareTo("2") } fun containsBreakWithLabel(a: String?) { @@ -52,7 +52,7 @@ class C { @loop while(a == null) { break@label } - a?.compareTo("2") + a.compareTo("2") } fun containsBreakToOuterLoop(a: String?, b: String?) { @@ -60,7 +60,7 @@ class C { while(a == null) { break@loop } - a?.compareTo("2") + a.compareTo("2") } } @@ -70,7 +70,7 @@ class C { break@ } } - a?.compareTo("2") + a.compareTo("2") } fun unresolvedBreak(a: String?, array: Array) { @@ -80,6 +80,6 @@ class C { } if (true) break else break@ } - a?.compareTo("2") + a.compareTo("2") } } \ No newline at end of file