From f8704c63e7ba267beb9370bc22ff96dde75b0f9f Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Thu, 26 Feb 2015 16:56:16 +0100 Subject: variance modifiers for type parameters are separate modifier nodes, not part of the type name --- test/src/format/MarkdownFormatTest.kt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/src/format') diff --git a/test/src/format/MarkdownFormatTest.kt b/test/src/format/MarkdownFormatTest.kt index cf894898..b0c254ba 100644 --- a/test/src/format/MarkdownFormatTest.kt +++ b/test/src/format/MarkdownFormatTest.kt @@ -110,4 +110,10 @@ public class MarkdownFormatTest { markdownService.appendNodes(tempLocation, output, model.members.single().members) } } + + Test fun typeParameterVariance() { + verifyOutput("test/data/format/typeParameterVariance.kt", ".md") { model, output -> + markdownService.appendNodes(tempLocation, output, model.members.single().members) + } + } } -- cgit