From 1ce184f735bdc42cc44997429c7463cc20543c01 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 9 May 2026 23:08:16 -0700 Subject: [PATCH] test(s3/lifecycle): gofmt size-filter test --- test/s3/lifecycle/s3_lifecycle_size_filter_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/s3/lifecycle/s3_lifecycle_size_filter_test.go b/test/s3/lifecycle/s3_lifecycle_size_filter_test.go index 069cae6b2..8514c171a 100644 --- a/test/s3/lifecycle/s3_lifecycle_size_filter_test.go +++ b/test/s3/lifecycle/s3_lifecycle_size_filter_test.go @@ -34,7 +34,7 @@ func TestLifecycleSizeFilterGreaterThan(t *testing.T) { Status: types.ExpirationStatusEnabled, Filter: &types.LifecycleRuleFilter{ And: &types.LifecycleRuleAndOperator{ - Prefix: aws.String("sz/"), + Prefix: aws.String("sz/"), ObjectSizeGreaterThan: aws.Int64(threshold), }, }, @@ -44,8 +44,8 @@ func TestLifecycleSizeFilterGreaterThan(t *testing.T) { }) require.NoError(t, err) - const smallKey = "sz/small.txt" // size <= threshold → must remain - const largeKey = "sz/large.txt" // size > threshold → must expire + const smallKey = "sz/small.txt" // size <= threshold → must remain + const largeKey = "sz/large.txt" // size > threshold → must expire putObject(t, c, bucket, smallKey, strings.Repeat("a", threshold)) // exactly at boundary; gate is strictly >, so rejects putObject(t, c, bucket, largeKey, strings.Repeat("a", threshold+50))