Skip to content

Commit

Permalink
delete test
Browse files Browse the repository at this point in the history
  • Loading branch information
YukiMatsumura committed Nov 19, 2024
1 parent 3a21d8d commit 8546769
Showing 1 changed file with 0 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8546769

Please sign in to comment.