From a76e5a6f50302382fa53608ff79de3dd1926d84c Mon Sep 17 00:00:00 2001 From: Ilya Ryzhenkov Date: Thu, 22 Oct 2015 19:18:07 +0300 Subject: Update to changes in Kotlin Beta. --- test/src/TestAPI.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/src/TestAPI.kt') 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() } -- cgit