Skip to content

Commit

Permalink
remove fmt.Sprintf
Browse files Browse the repository at this point in the history
  • Loading branch information
lxea committed Jul 11, 2023
1 parent a32c7b4 commit 4040404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/auth/auth_with_roles_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1246,7 +1246,7 @@ func TestClusterNetworkingCloudUpdates(t *testing.T) {
err = client.SetClusterNetworkingConfig(ctx, tc.clusterNetworkingConfig)
if err != nil {
require.NotEmpty(t, tc.expectSetErr)
require.ErrorContains(t, err, fmt.Sprintf("%q", tc.expectSetErr))
require.ErrorContains(t, err, tc.expectSetErr)
} else {
require.Empty(t, tc.expectSetErr)
}
Expand Down

0 comments on commit 4040404

Please sign in to comment.