aboutsummaryrefslogtreecommitdiff
path: root/test/pretty/resource/before/TextBlocks.java
blob: 247621c091ffc96c9b672ded8186d49fdb0ecc09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// version 13:
public class TextBlocks {
	private String example = """
		This should not be indented.\nline 2
		line 3
		""";
	
	private String ex2 = """
		This should be though.
	""";
	
	private String ex3 = "This is a simple\nstring";
	
	private String ex4 = """   
		""";
	
	private String bizarroDent = """
		  foo\n    bar""" + "hey" + """
			weird!""";
	
	private String stringFolding = "hmmm" + """
		line1
			line2""";
}