From a3b529be1b4ca6b26704356144c584e290af097e Mon Sep 17 00:00:00 2001 From: Jake Wharton Date: Thu, 12 Oct 2023 10:54:09 -0400 Subject: [PATCH] Remove old annotation suppression (#1582) Removing parameterization eliminated the need for this suppression. Also delete the dependency that is now unused. --- redwood-layout-shared-test/build.gradle | 1 - .../kotlin/app/cash/redwood/layout/AbstractFlexContainerTest.kt | 1 - 2 files changed, 2 deletions(-) diff --git a/redwood-layout-shared-test/build.gradle b/redwood-layout-shared-test/build.gradle index 311c9938ce..16f0842332 100644 --- a/redwood-layout-shared-test/build.gradle +++ b/redwood-layout-shared-test/build.gradle @@ -23,7 +23,6 @@ kotlin { // as a test dependency this selection is transparent. But since we are publishing a library // we need to select one ourselves at compilation time. api libs.kotlin.test.junit - api libs.testParameterInjector } } } diff --git a/redwood-layout-shared-test/src/commonMain/kotlin/app/cash/redwood/layout/AbstractFlexContainerTest.kt b/redwood-layout-shared-test/src/commonMain/kotlin/app/cash/redwood/layout/AbstractFlexContainerTest.kt index 9b84577300..74c8ff94df 100644 --- a/redwood-layout-shared-test/src/commonMain/kotlin/app/cash/redwood/layout/AbstractFlexContainerTest.kt +++ b/redwood-layout-shared-test/src/commonMain/kotlin/app/cash/redwood/layout/AbstractFlexContainerTest.kt @@ -35,7 +35,6 @@ import app.cash.redwood.yoga.FlexDirection import kotlin.test.Test import kotlin.test.assertTrue -@Suppress("JUnitMalformedDeclaration") abstract class AbstractFlexContainerTest { abstract fun flexContainer(direction: FlexDirection): TestFlexContainer abstract fun widget(): Text