From 85467691fff5e5f7dd6d72e97afcbc6214669afd Mon Sep 17 00:00:00 2001 From: yuki312 Date: Tue, 19 Nov 2024 13:07:24 +0900 Subject: [PATCH] delete test --- ...gTypeExpiryDateIllegalParamDetectorText.kt | 41 ------------------- 1 file changed, 41 deletions(-) diff --git a/flagfit-lint/src/test/java/tv/abema/flagfit/FlagTypeExpiryDateIllegalParamDetectorText.kt b/flagfit-lint/src/test/java/tv/abema/flagfit/FlagTypeExpiryDateIllegalParamDetectorText.kt index 45a974a..776a2f0 100644 --- a/flagfit-lint/src/test/java/tv/abema/flagfit/FlagTypeExpiryDateIllegalParamDetectorText.kt +++ b/flagfit-lint/src/test/java/tv/abema/flagfit/FlagTypeExpiryDateIllegalParamDetectorText.kt @@ -197,47 +197,6 @@ class FlagTypeExpiryDateIllegalParamDetectorText : LintDetectorTest() { .expectClean() } - @Test - fun testExpiryDateNotDefinedExpireDateFormatNoWarning() { - lint() - .files( - stabBooleanFlag, - stabFlagType, - kotlin( - """ - package foo - import tv.abema.flagfit.FlagType - import tv.abema.flagfit.annotation.BooleanFlag - import tv.abema.flagfit.FlagType.Companion.OWNER_NOT_DEFINED - import tv.abema.flagfit.FlagType.Companion.EXPIRY_DATE_INFINITE - import tv.abema.flagfit.FlagType.Companion.EXPIRY_DATE_NOT_DEFINED - - interface Example { - @BooleanFlag( - key = "new-awesome-feature", - defaultValue = false - ) - @FlagType.WorkInProgress( - owner = "Hoge Fuga", - expiryDate = EXPIRY_DATE_NOT_DEFINED - ) - fun awesomeFeatureEnabled(): Boolean - } - - class Test { - fun test(example: Example) { - example.awesomeFeatureEnabled() - } - } - """.trimIndent() - ) - ) - .issues(*issues.toTypedArray()) - .allowMissingSdk() - .run() - .expectClean() - } - @Test fun testDeprecatedFlagTypeNoWarning() { lint()