update test error lint

This commit is contained in:
Jonathan Gimeno
2020-02-27 16:33:30 +01:00
parent 0a3fcf6d2d
commit a21a7faebc
2 changed files with 13 additions and 8 deletions
+1
View File
@@ -42,6 +42,7 @@ func TestGetPruningOptionsFromFlags(t *testing.T) {
for _, tt := range tests {
t.Run(tt.name, func(j *testing.T) {
tt := tt
viper.Reset()
tt.initParams()
require.Equal(t, tt.expectedOptions, GetPruningOptionsFromFlags())