Java: add missing newline error on text block fragment (IJ-CR-113878)

GitOrigin-RevId: a62cddecc6b6974ffedbcfcd179fe675aa74112e
This commit is contained in:
Bas Leijdekkers
2023-08-31 12:47:15 +02:00
committed by intellij-monorepo-bot
parent bf4ea53ca5
commit 0aebe230e8
3 changed files with 34 additions and 18 deletions

View File

@@ -1,9 +1,9 @@
class C {
String empty = """
""";
String invalid1 = <error descr="Illegal text block start: missing new line after opening quotes">""""""</error>;
String invalid2 = <error descr="Illegal text block start: missing new line after opening quotes">""" """</error>;
String invalid3 = <error descr="Illegal text block start: missing new line after opening quotes">"""\\n """</error>;
String invalid1 = <error descr="Illegal text block start: missing new line after opening quotes">"""</error>""";
String invalid2 = <error descr="Illegal text block start: missing new line after opening quotes">"""</error> """;
String invalid3 = <error descr="Illegal text block start: missing new line after opening quotes">"""</error>\\n """;
String s9 = "\s";
String s10 = " <error descr="Illegal escape character in string literal">\ </error>";