Skip to content

Commit

Permalink
main/object
Browse files Browse the repository at this point in the history
  • Loading branch information
ItamarYuran committed Dec 25, 2024
1 parent 08cc251 commit 2873d3a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions esti/s3_gateway_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,11 @@ func TestS3IfNoneMatch(t *testing.T) {
}

testCases := []TestCase{
{Path: "object1", Content: "data", IfNoneMatch: "", ExpectError: false},
{Path: "object1", Content: "data", IfNoneMatch: "*", ExpectError: true},
{Path: "object2", Content: "data", IfNoneMatch: "*", ExpectError: false},
{Path: "object2", Content: "data", IfNoneMatch: "", ExpectError: false},
{Path: "object3", Content: "data", IfNoneMatch: "hi", ExpectError: true},
{Path: "main/object1", Content: "data", IfNoneMatch: "", ExpectError: false},
{Path: "main/object1", Content: "data", IfNoneMatch: "*", ExpectError: true},
{Path: "main/object2", Content: "data", IfNoneMatch: "*", ExpectError: false},
{Path: "main/object2", Content: "data", IfNoneMatch: "", ExpectError: false},
{Path: "main/object3", Content: "data", IfNoneMatch: "hi", ExpectError: true},
}

objects := make(chan TestCase, parallelism*2)
Expand Down

0 comments on commit 2873d3a

Please sign in to comment.