File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -166,6 +166,7 @@ func TestHandler_ServeTagsWithCache(t *testing.T) {
166
166
}
167
167
168
168
var err error
169
+
169
170
cfg .Common .FindCache , err = config .CreateCache ("autocomplete" , & cfg .Common .FindCacheConfig )
170
171
if err != nil {
171
172
t .Fatalf ("Failed to create find cache: %v" , err )
@@ -352,6 +353,7 @@ func TestHandler_ServeValuesWithCache(t *testing.T) {
352
353
}
353
354
354
355
var err error
356
+
355
357
cfg .Common .FindCache , err = config .CreateCache ("autocomplete" , & cfg .Common .FindCacheConfig )
356
358
if err != nil {
357
359
t .Fatalf ("Failed to create find cache: %v" , err )
@@ -413,6 +415,7 @@ func TestHandler_ServeValuesWithCacheAndExpr(t *testing.T) {
413
415
}
414
416
415
417
var err error
418
+
416
419
cfg .Common .FindCache , err = config .CreateCache ("autocomplete" , & cfg .Common .FindCacheConfig )
417
420
if err != nil {
418
421
t .Fatalf ("Failed to create find cache: %v" , err )
@@ -547,6 +550,7 @@ func TestHandler_ServeValuesNoCache(t *testing.T) {
547
550
}
548
551
549
552
var err error
553
+
550
554
cfg .Common .FindCache , err = config .CreateCache ("autocomplete" , & cfg .Common .FindCacheConfig )
551
555
if err != nil {
552
556
t .Fatalf ("Failed to create find cache: %v" , err )
You can’t perform that action at this time.
0 commit comments