-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(commonmark): add test to verify issue 282
issue #282
- Loading branch information
Build Pipeline
committed
Dec 27, 2022
1 parent
10013a4
commit 26b2025
Showing
3 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
processor-commonmark/src/test/kotlin/org/bsc/makdown/commonmark/Issue282Test.kt
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,23 @@ | ||
package org.bsc.makdown.commonmark | ||
|
||
import org.bsc.confluence.model.Site | ||
import org.junit.jupiter.api.Assertions.assertEquals | ||
import org.junit.jupiter.api.Test | ||
import java.nio.file.Paths | ||
|
||
class Issue282Test { | ||
|
||
var site = Site().apply { | ||
basedir = Paths.get(System.getProperty("user.dir")) | ||
} | ||
|
||
@Test | ||
fun parse() { | ||
val content = parseResource( this.javaClass, "issue282", this.site ) | ||
|
||
assertEquals(""" | ||
test coverage of at least 70%. (Measures to show this for each PR will need to be investigated) | ||
""".trimIndent(), content ) | ||
} | ||
|
||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
test coverage of at least 70%%. (Measures to show this for each PR will need to be investigated) |