diff options
Diffstat (limited to 'java/java-tests/testData/codeInsight/generation/surroundWith')
2 files changed, 14 insertions, 0 deletions
diff --git a/java/java-tests/testData/codeInsight/generation/surroundWith/java/SurroundWithTryFinallyUsingIndents.java b/java/java-tests/testData/codeInsight/generation/surroundWith/java/SurroundWithTryFinallyUsingIndents.java new file mode 100644 index 000000000000..c491a29b3380 --- /dev/null +++ b/java/java-tests/testData/codeInsight/generation/surroundWith/java/SurroundWithTryFinallyUsingIndents.java @@ -0,0 +1,5 @@ +class Test { + void test() { + <selection> int a = 2;</selection> + } +} diff --git a/java/java-tests/testData/codeInsight/generation/surroundWith/java/SurroundWithTryFinallyUsingIndents_after.java b/java/java-tests/testData/codeInsight/generation/surroundWith/java/SurroundWithTryFinallyUsingIndents_after.java new file mode 100644 index 000000000000..a3887076e98f --- /dev/null +++ b/java/java-tests/testData/codeInsight/generation/surroundWith/java/SurroundWithTryFinallyUsingIndents_after.java @@ -0,0 +1,9 @@ +class Test { + void test() { + try { + int a = 2; + } finally { + <caret> + } + } +} |