testdata for IDEA-93973

This commit is contained in:
Anna.Kozlova
2016-04-29 19:22:54 +02:00
parent 23113360f1
commit 91b549e39c
3 changed files with 15 additions and 0 deletions
@@ -0,0 +1,6 @@
class Test {
public static void main(String[] args) {
int <caret>i = 7 - 6;
System.out.println("3 + 2 = " + i);
}
}
@@ -0,0 +1,5 @@
class Test {
public static void main(String[] args) {
System.out.println("3 + 2 = " + (7 - 6));
}
}
@@ -272,6 +272,10 @@ public class InlineLocalTest extends LightCodeInsightTestCase {
doTest(false);
}
public void testOperationPrecedenceWhenInlineToStringConcatenation() throws Exception {
doTest(false);
}
public void testLocalVarInsideLambdaBodyWriteUsage() throws Exception {
doTest(true, "Cannot perform refactoring.\n" +
"Variable 'hello' is accessed for writing");