From 2e31ae9ab47ef5786f03758dee5da89c74602d48 Mon Sep 17 00:00:00 2001 From: Louis CAD Date: Wed, 10 Aug 2022 04:58:17 +0200 Subject: [PATCH] Add required opt-in for ExperimentalTime in tests --- .../src/test/kotlin/de/fayard/refreshVersions/MigrationTest.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/dependencies/src/test/kotlin/de/fayard/refreshVersions/MigrationTest.kt b/plugins/dependencies/src/test/kotlin/de/fayard/refreshVersions/MigrationTest.kt index f042e1cef..a6cb3d79a 100644 --- a/plugins/dependencies/src/test/kotlin/de/fayard/refreshVersions/MigrationTest.kt +++ b/plugins/dependencies/src/test/kotlin/de/fayard/refreshVersions/MigrationTest.kt @@ -8,7 +8,9 @@ import io.kotest.inspectors.forAll import io.kotest.matchers.ints.shouldBeExactly import io.kotest.matchers.shouldBe import java.io.File +import kotlin.time.ExperimentalTime +@OptIn(ExperimentalTime::class) class MigrationTest : StringSpec({ val testResources: File = File(".").absoluteFile.resolve("src/test/resources")