Skip to content

Commit

Permalink
fix linter test
Browse files Browse the repository at this point in the history
  • Loading branch information
jgimeno committed Feb 27, 2020
1 parent f89fc6a commit 0027111
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion server/pruning_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ func TestGetPruningOptionsFromFlags(t *testing.T) {
}

for _, tt := range tests {
tt := tt
t.Run(tt.name, func(j *testing.T) {
tt := tt
viper.Reset()
tt.initParams()
require.Equal(t, tt.expectedOptions, GetPruningOptionsFromFlags())
Expand Down
4 changes: 2 additions & 2 deletions server/start_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ func TestPruningOptions(t *testing.T) {
}

for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
tt := tt
tt := tt

t.Run(tt.name, func(t *testing.T) {
viper.Reset()
tt.paramInit()

Expand Down

0 comments on commit 0027111

Please sign in to comment.