Skip to content

Commit a676945

Browse files
committed
Lower limit for nestedStrongEmphasis because of stack size
Now that there's an extra level of indirection, the stack requirements are higher. The test was failing on Java 7 but not on 8 because its default stack size is smaller.
1 parent 1366034 commit a676945

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

commonmark/src/test/java/org/commonmark/test/PathologicalTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ protected void finished(long nanos, Description description) {
3232
@Test
3333
public void nestedStrongEmphasis() {
3434
// this is limited by the stack size because visitor is recursive
35-
x = 1000;
35+
x = 500;
3636
assertRendering(
3737
repeat("*a **a ", x) + "b" + repeat(" a** a*", x),
3838
"<p>" + repeat("<em>a <strong>a ", x) + "b" +

0 commit comments

Comments
 (0)