Files
openide/java/java-tests/testData/inspection/trailingWhitespacesInTextBlock/WithEndQuotes.after.java
Bas Leijdekkers 41b6cfab0b Java: fix SIOOBE in "Escape trailing whitespace characters"
GitOrigin-RevId: 1f975c570b0192a94b651e219b517f742b3b0ba0
2024-01-28 15:39:38 +00:00

38 lines
864 B
Java

class Foo {
void test() {
String text = """
text\"""";
String text2 = """
\"""";
String text3 = """
test\"""";
String text4 = """
test\\\"""";
String text5 = """
\"""";
String text6 = """
\\\"""";
String text7 = """
\\\"""";
String text8 = """
\\\\\"""";
String text9 = """
\\\\\"""";
String text10 = """
\u005C"""";
String text11 = """
\u005C\u005C\"""";
String text12 = """
\u005C\u005C\u005C"""";
String text13 = """
\u005C \"""";
String text14 = """
\u005C\u005C\u005C\u005C\"""";
String text15 = STR."""
"scary"\{}
"scary"\{}
"scary" \{}
""";
}
}