From db91b520a5f5d056cb711c0531862536e7bd12c7 Mon Sep 17 00:00:00 2001 From: Ilya Chernikov Date: Fri, 14 Feb 2020 08:24:20 +0100 Subject: [PATCH] [minor] Fix test source - avoid warning about uused main args --- compiler/testData/launcher/contextClassLoaderTester.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/testData/launcher/contextClassLoaderTester.kt b/compiler/testData/launcher/contextClassLoaderTester.kt index 89afd841606..969f5cd9d67 100644 --- a/compiler/testData/launcher/contextClassLoaderTester.kt +++ b/compiler/testData/launcher/contextClassLoaderTester.kt @@ -4,7 +4,7 @@ import java.io.File object ContextClassLoaderTester { @JvmStatic - fun main(args: Array) { + fun main(@Suppress("UNUSED_PARAMETER") args: Array) { kotlin.test.DefaultAsserter.assertTrue("", true) // this tests that kotlin-test is in the compilation and runtime classpaths val contextClassLoader = Thread.currentThread().getContextClassLoader()