diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-03-17 19:54:11 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-03-17 19:54:11 +0100 |
commit | c7916f74964246bee4d256c106b01c7e317e6c10 (patch) | |
tree | 39d28310f12ae4b8e3d4f182aa66b1e5b1c4319e /test/src/markdown/MarkdownTestRunner.kt | |
parent | 0406a6bce4f461f3ae846911505701324411fa9b (diff) | |
download | dokka-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.kt | 2 |
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++) } |