Skip to content

Commit 04592ca

Browse files
committed
Expect continuation indent in text blocks
1 parent f42714b commit 04592ca

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/test/java/org/openrewrite/java/migrate/lang/StringFormattedTest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,18 @@ void textBlock() {
6969
package com.example.app;
7070
class A {
7171
String str = String.format(\"""
72-
foo
73-
%s
74-
\""", "a");
72+
foo
73+
%s
74+
\""", "a");
7575
}
7676
""",
7777
"""
7878
package com.example.app;
7979
class A {
8080
String str = \"""
81-
foo
82-
%s
83-
\""".formatted("a");
81+
foo
82+
%s
83+
\""".formatted("a");
8484
}
8585
"""
8686
),

0 commit comments

Comments
 (0)