From 77effb4fa1e9263c30ef3594934e91d51df6bae3 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Mon, 16 Feb 2015 12:10:50 +0100 Subject: don't lose tag value where it's actually part of the description --- test/src/model/JavaTest.kt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'test/src/model') diff --git a/test/src/model/JavaTest.kt b/test/src/model/JavaTest.kt index 2f67d7e8..fe4fd322 100644 --- a/test/src/model/JavaTest.kt +++ b/test/src/model/JavaTest.kt @@ -13,7 +13,7 @@ public class JavaTest { assertEquals("fn", name) assertEquals(DocumentationNode.Kind.Function, kind) assertEquals("Summary for Function", content.summary.toTestString()) - assertEquals(2, content.sections.size()) + assertEquals(3, content.sections.size()) with(content.sections[0]) { assertEquals("Parameters", tag) assertEquals("name", subjectName) @@ -22,7 +22,11 @@ public class JavaTest { 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) + assertEquals("yole", toTestString()) } assertEquals("Unit", detail(DocumentationNode.Kind.Type).name) assertTrue(members.none()) -- cgit