From 87edf7c5778a9e1ac3e17c9046110d69e8d197a6 Mon Sep 17 00:00:00 2001 From: Sergey Mashkov Date: Mon, 27 Jul 2015 16:11:36 +0300 Subject: Eliminate warnings caused by API changes --- test/src/markdown/MarkdownTestRunner.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/src') diff --git a/test/src/markdown/MarkdownTestRunner.kt b/test/src/markdown/MarkdownTestRunner.kt index 867deece..5ad0224f 100644 --- a/test/src/markdown/MarkdownTestRunner.kt +++ b/test/src/markdown/MarkdownTestRunner.kt @@ -23,7 +23,7 @@ interface MarkdownTest { } public open class MarkdownTestCase(val spec: MarkdownSpecification, val input: String, val expected: String) : MarkdownTest, Runner() { - val _description by Delegates.lazy { + val _description by lazy { Description.createSuiteDescription(input, MarkdownTestUniqueId.next())!! } @@ -45,7 +45,7 @@ public open class MarkdownTestCase(val spec: MarkdownSpecification, val input: S public open class MarkdownTestSection(val spec: MarkdownSpecification, val title: String) : MarkdownTest, ParentRunner(spec.javaClass) { val children = arrayListOf(); - val _description by Delegates.lazy { + val _description by lazy { val desc = Description.createSuiteDescription(title, MarkdownTestUniqueId.next())!! for (item in getChildren()!!) { desc.addChild(describeChild(item)) -- cgit