mirror of
https://github.com/processing/processing4.git
synced 2026-01-28 10:51:07 +01:00
Though the test isn't broken, just adding a multiline string within a class test case just out of an abundance of caution.
21 lines
245 B
Plaintext
21 lines
245 B
Plaintext
class TestClass {
|
|
final String testMultiline1 = """
|
|
line1 "
|
|
line 2 ""
|
|
line 3
|
|
line 4""";
|
|
|
|
String getStr() {
|
|
return testMultiline1;
|
|
}
|
|
}
|
|
|
|
|
|
void setup() {
|
|
TestClass test = new TestClass();
|
|
println(test.getStr());
|
|
}
|
|
|
|
void draw() {
|
|
}
|