aboutsummaryrefslogtreecommitdiff
path: root/test/src/markdown/MarkdownTestRunner.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-03-17 19:54:11 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-03-17 19:54:11 +0100
commitc7916f74964246bee4d256c106b01c7e317e6c10 (patch)
tree39d28310f12ae4b8e3d4f182aa66b1e5b1c4319e /test/src/markdown/MarkdownTestRunner.kt
parent0406a6bce4f461f3ae846911505701324411fa9b (diff)
downloaddokka-c7916f74964246bee4d256c106b01c7e317e6c10.tar.gz
dokka-c7916f74964246bee4d256c106b01c7e317e6c10.tar.bz2
dokka-c7916f74964246bee4d256c106b01c7e317e6c10.zip
default objects -> companion objects
Diffstat (limited to 'test/src/markdown/MarkdownTestRunner.kt')
-rw-r--r--test/src/markdown/MarkdownTestRunner.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/markdown/MarkdownTestRunner.kt b/test/src/markdown/MarkdownTestRunner.kt
index 99c3732e..4aceb8e8 100644
--- a/test/src/markdown/MarkdownTestRunner.kt
+++ b/test/src/markdown/MarkdownTestRunner.kt
@@ -9,7 +9,7 @@ import kotlin.properties.Delegates
import org.junit.ComparisonFailure
data class MarkdownTestUniqueId(val id: Int) : Serializable {
- default object {
+ companion object {
var id = 0
fun next() = MarkdownTestUniqueId(id++)
}