From 9ff0aeb77596448d8b5165fbae222fc12ca57a46 Mon Sep 17 00:00:00 2001 From: yuki312 Date: Mon, 18 Nov 2024 19:52:04 +0900 Subject: [PATCH] add failed test --- .../flagfit/FlagTypeExpiryDateIllegalParamDetectorText.kt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 776a2f0..34406e9 100644 --- a/flagfit-lint/src/test/java/tv/abema/flagfit/FlagTypeExpiryDateIllegalParamDetectorText.kt +++ b/flagfit-lint/src/test/java/tv/abema/flagfit/FlagTypeExpiryDateIllegalParamDetectorText.kt @@ -184,10 +184,16 @@ class FlagTypeExpiryDateIllegalParamDetectorText : LintDetectorTest() { ) @FlagType.WorkInProgress( owner = "Hoge Fuga", - expiryDate = "2023-12-10" + expiryDate = EXPIRY_DATE_NOT_DEFINED ) fun awesomeFeatureEnabled(): Boolean } + + class Test { + fun test(example: Example) { + example.awesomeFeatureEnabled() + } + } """.trimIndent() ) )