diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-02-27 19:17:15 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-02-27 19:17:15 +0300 |
commit | 05c5a8f20167b652f918e8260fd16453efadf5ff (patch) | |
tree | 6bcc70e637623c307844a7f1dfda0856fe795069 /core/src/test/kotlin/format | |
parent | 20b3b0d018248cbde0c509603c52c36445d996f0 (diff) | |
download | dokka-05c5a8f20167b652f918e8260fd16453efadf5ff.tar.gz dokka-05c5a8f20167b652f918e8260fd16453efadf5ff.tar.bz2 dokka-05c5a8f20167b652f918e8260fd16453efadf5ff.zip |
Render functional type in parenthesis when it in receiver position
Diffstat (limited to 'core/src/test/kotlin/format')
-rw-r--r-- | core/src/test/kotlin/format/MarkdownFormatTest.kt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/test/kotlin/format/MarkdownFormatTest.kt b/core/src/test/kotlin/format/MarkdownFormatTest.kt index 4830d760..121e9afb 100644 --- a/core/src/test/kotlin/format/MarkdownFormatTest.kt +++ b/core/src/test/kotlin/format/MarkdownFormatTest.kt @@ -254,6 +254,10 @@ class MarkdownFormatTest { verifyMarkdownNodes("memberExtension") { model -> model.members.single().members.filter { it.name == "Foo" } } } + @Test fun renderFunctionalTypeInParenthesisWhenItIsReceiver() { + verifyMarkdownNode("renderFunctionalTypeInParenthesisWhenItIsReceiver") + } + @Test fun multiplePlatforms() { verifyMultiplatformPackage(buildMultiplePlatforms("multiplatform"), "multiplatform") } |