aboutsummaryrefslogtreecommitdiff
path: root/test/src/TestAPI.kt
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2015-10-22 19:18:07 +0300
committerIlya Ryzhenkov <orangy@jetbrains.com>2015-10-22 19:18:07 +0300
commita76e5a6f50302382fa53608ff79de3dd1926d84c (patch)
tree2f21c587bf6938c72db92d019c984602f1ba795e /test/src/TestAPI.kt
parent1e2e2b6a4223c7e09bf447f645b0843128fed7b5 (diff)
downloaddokka-a76e5a6f50302382fa53608ff79de3dd1926d84c.tar.gz
dokka-a76e5a6f50302382fa53608ff79de3dd1926d84c.tar.bz2
dokka-a76e5a6f50302382fa53608ff79de3dd1926d84c.zip
Update to changes in Kotlin Beta.
Diffstat (limited to 'test/src/TestAPI.kt')
-rw-r--r--test/src/TestAPI.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/TestAPI.kt b/test/src/TestAPI.kt
index 88d19036..ce200bfe 100644
--- a/test/src/TestAPI.kt
+++ b/test/src/TestAPI.kt
@@ -111,7 +111,7 @@ fun StringBuilder.appendNode(node: ContentNode): StringBuilder {
fun ContentNode.toTestString(): String {
val node = this
- return StringBuilder {
+ return StringBuilder().apply {
appendNode(node)
}.toString()
}