diff options
Diffstat (limited to 'core/src/test/kotlin')
-rw-r--r-- | core/src/test/kotlin/format/GFMFormatTest.kt | 4 | ||||
-rw-r--r-- | core/src/test/kotlin/model/JavaTest.kt | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/core/src/test/kotlin/format/GFMFormatTest.kt b/core/src/test/kotlin/format/GFMFormatTest.kt index d21885d3..5327c9dc 100644 --- a/core/src/test/kotlin/format/GFMFormatTest.kt +++ b/core/src/test/kotlin/format/GFMFormatTest.kt @@ -11,6 +11,10 @@ class GFMFormatTest { verifyGFMNodeByName("sample", "Foo") } + @Test fun listInTableCell() { + verifyGFMNodeByName("listInTableCell", "Foo") + } + private fun verifyGFMNodeByName(fileName: String, name: String) { verifyOutput("testdata/format/gfm/$fileName.kt", ".md") { model, output -> gfmService.createOutputBuilder(output, tempLocation).appendNodes(model.members.single().members.filter { it.name == name }) diff --git a/core/src/test/kotlin/model/JavaTest.kt b/core/src/test/kotlin/model/JavaTest.kt index a3a3f772..a89b7a11 100644 --- a/core/src/test/kotlin/model/JavaTest.kt +++ b/core/src/test/kotlin/model/JavaTest.kt @@ -17,12 +17,12 @@ public class JavaTest { with(content.sections[0]) { assertEquals("Parameters", tag) assertEquals("name", subjectName) - assertEquals("is String parameter ", toTestString()) + assertEquals("is String parameter", toTestString()) } with(content.sections[1]) { assertEquals("Parameters", tag) assertEquals("value", subjectName) - assertEquals("is int parameter ", toTestString()) + assertEquals("is int parameter", toTestString()) } with(content.sections[2]) { assertEquals("Author", tag) |