Skip to content

Commit

Permalink
Update secret_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Erik Godding Boye <[email protected]>
  • Loading branch information
mariatsji and erikgb authored Jan 3, 2025
1 parent 177f553 commit eef83fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/sdk/cloudian/secret_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func TestSecretUnmarshal(t *testing.T) {
t.Errorf("Expected string equality to 124, got %v", secrets[0].AccessKey)
}

if secrets[0].AccessKey.String() != "********" {
if fmt.Sprintf("%s", secrets[0].AccessKey) != "********" {

Check failure on line 21 in internal/sdk/cloudian/secret_test.go

View workflow job for this annotation

GitHub Actions / lint

undefined: fmt (typecheck)

Check failure on line 21 in internal/sdk/cloudian/secret_test.go

View workflow job for this annotation

GitHub Actions / unit-tests

undefined: fmt
t.Errorf("Expected obfuscated string, got %v", secrets[0].SecretKey)
}
}

0 comments on commit eef83fa

Please sign in to comment.