diff --git a/conditional_operator_intention/testData/before.template.after.java b/conditional_operator_intention/testData/before.template.after.java index 227866498..99e9f03d3 100644 --- a/conditional_operator_intention/testData/before.template.after.java +++ b/conditional_operator_intention/testData/before.template.after.java @@ -1,11 +1,11 @@ public class X { - void f(boolean isMale) { - String title; - if (isMale) { - title = "Mr."; - } else { - title = "Ms."; + void f(boolean isMale) { + String title; + if (isMale) { + title = "Mr."; + } else { + title = "Ms."; + } + System.out.println("title = " + title); } - System.out.println("title = " + title); - } } \ No newline at end of file diff --git a/conditional_operator_intention/testData/before.template.java b/conditional_operator_intention/testData/before.template.java index 7b3fcba70..9ee08cee3 100644 --- a/conditional_operator_intention/testData/before.template.java +++ b/conditional_operator_intention/testData/before.template.java @@ -1,6 +1,6 @@ public class X { - void f(boolean isMale) { - String title = isMale ? "Mr." : "Ms."; - System.out.println("title = " + title); - } + void f(boolean isMale) { + String title = isMale ? "Mr." : "Ms."; + System.out.println("title = " + title); + } } \ No newline at end of file diff --git a/conditional_operator_intention/testSource/testPlugin/YourTest.java b/conditional_operator_intention/testSource/testPlugin/YourTest.java index aa5021a53..5738e1d08 100644 --- a/conditional_operator_intention/testSource/testPlugin/YourTest.java +++ b/conditional_operator_intention/testSource/testPlugin/YourTest.java @@ -5,7 +5,6 @@ import com.intellij.openapi.application.PathManager; import com.intellij.testFramework.UsefulTestCase; import com.intellij.testFramework.builders.JavaModuleFixtureBuilder; import com.intellij.testFramework.fixtures.*; -import junit.framework.Assert; import org.junit.*; /** @@ -14,6 +13,7 @@ import org.junit.*; * Date: Sep 13, 2010 * Time: 9:35:50 PM * To change this template use File | Settings | File Templates. + * This test requires Editor > Code Style set to Default IDE */ public class YourTest extends UsefulTestCase {