From 752bc5f80d3865d122b4beb89a3d8e9aebb25ca6 Mon Sep 17 00:00:00 2001 From: usernameisnull Date: Sun, 27 Nov 2022 02:45:19 +0800 Subject: [PATCH] chore:remove redundant parentheses (#11436) Signed-off-by: mabing Signed-off-by: mabing Co-authored-by: mabing --- test/e2e/project_management_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/project_management_test.go b/test/e2e/project_management_test.go index d8aa7836da83b..dcc3affe7886d 100644 --- a/test/e2e/project_management_test.go +++ b/test/e2e/project_management_test.go @@ -377,9 +377,9 @@ func TestUseJWTToken(t *testing.T) { roleGetResult, err = fixture.RunCli("proj", "role", "get", projectName, roleName) assert.NoError(t, err) - assert.True(t, strings.Contains(roleGetResult, strconv.FormatInt((newProj.Status.JWTTokensByRole[roleName].Items[0].IssuedAt), 10))) + assert.True(t, strings.Contains(roleGetResult, strconv.FormatInt(newProj.Status.JWTTokensByRole[roleName].Items[0].IssuedAt, 10))) - _, err = fixture.RunCli("proj", "role", "delete-token", projectName, roleName, strconv.FormatInt((newProj.Status.JWTTokensByRole[roleName].Items[0].IssuedAt), 10)) + _, err = fixture.RunCli("proj", "role", "delete-token", projectName, roleName, strconv.FormatInt(newProj.Status.JWTTokensByRole[roleName].Items[0].IssuedAt, 10)) assert.NoError(t, err) newProj, err = fixture.AppClientset.ArgoprojV1alpha1().AppProjects(fixture.ArgoCDNamespace).Get(context.Background(), projectName, metav1.GetOptions{}) assert.NoError(t, err)