Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-codefresh committed Aug 16, 2024
1 parent b94a417 commit b0d08c1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions reposerver/repository/repository_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit b0d08c1

Please sign in to comment.