mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
testdata for IDEA-93973
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
class Test {
|
||||
public static void main(String[] args) {
|
||||
int <caret>i = 7 - 6;
|
||||
System.out.println("3 + 2 = " + i);
|
||||
}
|
||||
}
|
||||
+5
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user