mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 16:58:31 +02:00
fixed some tests
This commit is contained in:
@@ -70,6 +70,7 @@ func TestRetentionCommonFormat(t *testing.T) {
|
||||
}
|
||||
logger.Flush(true)
|
||||
|
||||
// FIXME: keep days does not work
|
||||
t.Run("keep days", func(t *testing.T) {
|
||||
logger.Config().Retention = strutils.MustParse[*Retention]("3 days")
|
||||
ExpectEqual(t, logger.Config().Retention.Days, 3)
|
||||
|
||||
Reference in New Issue
Block a user