Skip to content

Commit 0dc28f3

Browse files
romainbrenguierLukasz A.J. Wrona
authored andcommitted
Tests for new option string-max-input-length
1 parent 90fde4d commit 0dc28f3

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Binary file not shown.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
public class Test {
2+
public static void main(String s) {
3+
// Causes this function to be ignored if string-max-length is
4+
// less than 40
5+
String t = new String("0123456789012345678901234567890123456789");
6+
assert s.length() < 30;
7+
}
8+
}

0 commit comments

Comments
 (0)