diff options
| author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2025-04-14 22:47:59 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-14 22:47:59 +0000 |
| commit | 623a7d5952b77a76f4bf122f3e057fd2249bc99d (patch) | |
| tree | beed6ce566ae9e0725d99ac671c88bf5629a19b6 /aws | |
| parent | 40eab0b7df39f7751578fc85e5cd133b86fb2812 (diff) | |
deps(actions): Bump golangci/golangci-lint-action from 6 to 7 (#2357)
* deps(actions): Bump golangci/golangci-lint-action from 6 to 7
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6 to 7.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v6...v7)
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix(lint): Fixing new lint errors
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'aws')
| -rw-r--r-- | aws/ec2info_test.go | 2 | ||||
| -rw-r--r-- | aws/kms_test.go | 4 | ||||
| -rw-r--r-- | aws/sts_test.go | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/aws/ec2info_test.go b/aws/ec2info_test.go index 87db85a3..ddf9e38d 100644 --- a/aws/ec2info_test.go +++ b/aws/ec2info_test.go @@ -104,7 +104,7 @@ func TestTag_NonEC2(t *testing.T) { cache: make(map[string]any), } - assert.Equal(t, "", must(e.Tag("foo"))) + assert.Empty(t, must(e.Tag("foo"))) assert.Equal(t, "default", must(e.Tag("foo", "default"))) } diff --git a/aws/kms_test.go b/aws/kms_test.go index f40c1fec..a24482ed 100644 --- a/aws/kms_test.go +++ b/aws/kms_test.go @@ -37,7 +37,7 @@ func TestEncrypt(t *testing.T) { resp, err := kmsClient.Encrypt("dummykey", "plaintextvalue") require.NoError(t, err) expectedResp, _ := b64.Encode([]byte("PLAINTEXTVALUE")) - assert.EqualValues(t, expectedResp, resp) + assert.Equal(t, expectedResp, resp) } func TestDecrypt(t *testing.T) { @@ -49,5 +49,5 @@ func TestDecrypt(t *testing.T) { // Success resp, err := kmsClient.Decrypt(encodedCiphertextBlob) require.NoError(t, err) - assert.EqualValues(t, "ciphervalue", resp) + assert.Equal(t, "ciphervalue", resp) } diff --git a/aws/sts_test.go b/aws/sts_test.go index 6ce3be54..485d86a7 100644 --- a/aws/sts_test.go +++ b/aws/sts_test.go @@ -24,7 +24,7 @@ func TestNewSTS(t *testing.T) { out, err := s.getCallerID() require.NoError(t, err) - assert.EqualValues(t, &sts.GetCallerIdentityOutput{ + assert.Equal(t, &sts.GetCallerIdentityOutput{ Account: aws.String("acct"), Arn: aws.String("arn"), UserId: aws.String("uid"), @@ -46,7 +46,7 @@ func TestNewSTS(t *testing.T) { out, err = s.getCallerID() require.NoError(t, err) - assert.EqualValues(t, &sts.GetCallerIdentityOutput{ + assert.Equal(t, &sts.GetCallerIdentityOutput{ Account: aws.String("acct"), Arn: aws.String("arn"), UserId: aws.String("uid"), |
