Skip to content

Commit 40c4c06

Browse files
committed
run linter
1 parent 1d8a4a6 commit 40c4c06

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

autocomplete/autocomplete_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ func TestHandler_ServeTagsWithCache(t *testing.T) {
166166
}
167167

168168
var err error
169+
169170
cfg.Common.FindCache, err = config.CreateCache("autocomplete", &cfg.Common.FindCacheConfig)
170171
if err != nil {
171172
t.Fatalf("Failed to create find cache: %v", err)
@@ -352,6 +353,7 @@ func TestHandler_ServeValuesWithCache(t *testing.T) {
352353
}
353354

354355
var err error
356+
355357
cfg.Common.FindCache, err = config.CreateCache("autocomplete", &cfg.Common.FindCacheConfig)
356358
if err != nil {
357359
t.Fatalf("Failed to create find cache: %v", err)
@@ -413,6 +415,7 @@ func TestHandler_ServeValuesWithCacheAndExpr(t *testing.T) {
413415
}
414416

415417
var err error
418+
416419
cfg.Common.FindCache, err = config.CreateCache("autocomplete", &cfg.Common.FindCacheConfig)
417420
if err != nil {
418421
t.Fatalf("Failed to create find cache: %v", err)
@@ -547,6 +550,7 @@ func TestHandler_ServeValuesNoCache(t *testing.T) {
547550
}
548551

549552
var err error
553+
550554
cfg.Common.FindCache, err = config.CreateCache("autocomplete", &cfg.Common.FindCacheConfig)
551555
if err != nil {
552556
t.Fatalf("Failed to create find cache: %v", err)

0 commit comments

Comments
 (0)