diff --git a/reposerver/repository/repository_test.go b/reposerver/repository/repository_test.go index 14456fae1f34f..4f42df723d09e 100644 --- a/reposerver/repository/repository_test.go +++ b/reposerver/repository/repository_test.go @@ -3505,7 +3505,7 @@ func TestUpdateRevisionForPaths(t *testing.T) { Paths: []string{"."}, }, }, want: &apiclient.UpdateRevisionForPathsResponse{ - Revision:"632039659e542ed7de0c170a4fcc1c571b288fc0", + Revision: "632039659e542ed7de0c170a4fcc1c571b288fc0", }, wantErr: assert.NoError}, {name: "ChangedFilesDoNothing", fields: func() fields { s, _, c := newServiceWithOpt(t, func(gitClient *gitmocks.Client, helmClient *helmmocks.Client, paths *iomocks.TempPaths) { @@ -3532,8 +3532,8 @@ func TestUpdateRevisionForPaths(t *testing.T) { Paths: []string{"."}, }, }, want: &apiclient.UpdateRevisionForPathsResponse{ - Changes: true, - Revision:"632039659e542ed7de0c170a4fcc1c571b288fc0", + Changes: true, + Revision: "632039659e542ed7de0c170a4fcc1c571b288fc0", }, wantErr: assert.NoError}, {name: "NoChangesUpdateCache", fields: func() fields { s, _, c := newServiceWithOpt(t, func(gitClient *gitmocks.Client, helmClient *helmmocks.Client, paths *iomocks.TempPaths) { @@ -3567,7 +3567,7 @@ func TestUpdateRevisionForPaths(t *testing.T) { KubeVersion: "v1.16.0", }, }, want: &apiclient.UpdateRevisionForPathsResponse{ - Revision:"632039659e542ed7de0c170a4fcc1c571b288fc0", + Revision: "632039659e542ed7de0c170a4fcc1c571b288fc0", }, wantErr: assert.NoError, cacheHit: &cacheHit{ previousRevision: "1e67a504d03def3a6a1125d934cb511680f72555", revision: "632039659e542ed7de0c170a4fcc1c571b288fc0", @@ -3606,7 +3606,7 @@ func TestUpdateRevisionForPaths(t *testing.T) { HasMultipleSources: true, }, }, want: &apiclient.UpdateRevisionForPathsResponse{ - Revision:"632039659e542ed7de0c170a4fcc1c571b288fc0", + Revision: "632039659e542ed7de0c170a4fcc1c571b288fc0", }, wantErr: assert.NoError, cacheHit: &cacheHit{ previousRevision: "1e67a504d03def3a6a1125d934cb511680f72555", revision: "632039659e542ed7de0c170a4fcc1c571b288fc0",