-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PiperOrigin-RevId: 436825379
- Loading branch information
Showing
5 changed files
with
238 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
javatests/com/google/turbine/lower/testdata/textblock.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
=== TextBlock.java === | ||
class TextBlock { | ||
public static final String hello = """ | ||
hello | ||
world | ||
"""; | ||
public static final String escape = """ | ||
hello\nworld\" | ||
\r\t\b | ||
\0123 | ||
\' | ||
\\ | ||
\" | ||
"""; | ||
public static final String quotes = """ | ||
" "" ""\" """; | ||
public static final String newline = """ | ||
hello | ||
world"""; | ||
public static final String blank = """ | ||
hello | ||
|
||
|
||
world | ||
"""; | ||
public static final String allBlank = """ | ||
|
||
|
||
"""; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters