Skip to content

Commit

Permalink
fix(test): reflect the error message in the test too
Browse files Browse the repository at this point in the history
  • Loading branch information
dabcoder committed Jun 11, 2024
1 parent b3f2f61 commit e7c0a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/awss3exporter/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func TestConfig_Validate(t *testing.T) {
c.S3Uploader.S3Bucket = ""
return c
}(),
errExpected: errors.New("bucket is required"),
errExpected: errors.New("bucket or endpoint is required"),
},
{
name: "bucket only",
Expand Down

0 comments on commit e7c0a6a

Please sign in to comment.