Skip to content

Commit

Permalink
Update fakestorage/object_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
fsouza committed May 2, 2023
1 parent 0898af6 commit e823414
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fakestorage/object_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1712,8 +1712,8 @@ func TestServerClientObjectUpdateContentType(t *testing.T) {
if err != nil {
t.Fatal(err)
}
var updatedContentType string = respJsonBody.ContentType
var expectedContentType string = "another content-type"
updatedContentType := respJsonBody.ContentType
expectedContentType := "another content-type"
if updatedContentType != expectedContentType {
t.Errorf("unexpected content type time\nwant %q\ngot %q", expectedContentType, updatedContentType)
}
Expand Down

0 comments on commit e823414

Please sign in to comment.