From 2d37194405f6277da84d67ea35e8512d811c9ca0 Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Thu, 23 Mar 2023 10:18:00 +0700 Subject: [PATCH] fix test --- state/gc_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/state/gc_test.go b/state/gc_test.go index b1c15a5fe..2ef6da87f 100644 --- a/state/gc_test.go +++ b/state/gc_test.go @@ -160,7 +160,7 @@ func TestDomainGCReadAfterRemoveFile(t *testing.T) { hc := h.MakeContext() lastOnFs, _ := h.files.Max() require.False(lastOnFs.frozen) // prepared dataset must have some non-frozen files. or it's bad dataset. - h.integrateMergedFiles(nil, []*filesItem{lastOnFs}, nil, nil, nil, nil) + h.integrateMergedFiles([]*filesItem{lastOnFs}, nil, nil, nil, nil, nil) require.NotNil(lastOnFs.decompressor) hc.Close()