-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix github header id generation compatibility
- Loading branch information
Showing
29 changed files
with
891 additions
and
73 deletions.
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
29 changes: 29 additions & 0 deletions
29
...-test/src/test/java/com/vladsch/flexmark/core/test/util/renderer/ComboExtraSpec2Test.java
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,29 @@ | ||
package com.vladsch.flexmark.core.test.util.renderer; | ||
|
||
import com.vladsch.flexmark.html.HtmlRenderer; | ||
import com.vladsch.flexmark.test.util.spec.ResourceLocation; | ||
import com.vladsch.flexmark.test.util.spec.SpecExample; | ||
import com.vladsch.flexmark.util.data.DataHolder; | ||
import com.vladsch.flexmark.util.data.MutableDataSet; | ||
import org.jetbrains.annotations.NotNull; | ||
import org.junit.runners.Parameterized; | ||
|
||
import java.util.List; | ||
|
||
final public class ComboExtraSpec2Test extends CoreRendererSpecTest { | ||
final private static String SPEC_RESOURCE = "/core_extra_ast_spec2.md"; | ||
final public static @NotNull ResourceLocation RESOURCE_LOCATION = ResourceLocation.of(SPEC_RESOURCE); | ||
|
||
final private static DataHolder OPTIONS = new MutableDataSet() | ||
.set(HtmlRenderer.PERCENT_ENCODE_URLS, true) | ||
.toImmutable(); | ||
|
||
public ComboExtraSpec2Test(@NotNull SpecExample example) { | ||
super(example, null, OPTIONS); | ||
} | ||
|
||
@Parameterized.Parameters(name = "{0}") | ||
public static List<Object[]> data() { | ||
return getTestData(RESOURCE_LOCATION); | ||
} | ||
} |
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
Oops, something went wrong.