diff --git a/internal/bucket/lifecycle/lifecycle_test.go b/internal/bucket/lifecycle/lifecycle_test.go
index dfe6bbeb9..ae0d767b6 100644
--- a/internal/bucket/lifecycle/lifecycle_test.go
+++ b/internal/bucket/lifecycle/lifecycle_test.go
@@ -120,11 +120,15 @@ func TestParseAndValidateLifecycleConfig(t *testing.T) {
expectedParsingErr: errDuplicatedXMLTag,
expectedValidationErr: nil,
},
- { // lifecycle config with no rules
+ { // lifecycle config without prefixes
inputConfig: `
+
+ 3
+ Enabled
+
`,
expectedParsingErr: nil,
- expectedValidationErr: errLifecycleNoRule,
+ expectedValidationErr: nil,
},
{ // lifecycle config with rules having overlapping prefix
inputConfig: `rule1Enabled/a/b3rule2Enabled/a/b/ckey1val13 `,