diff --git a/internal/restic/config_test.go b/internal/restic/config_test.go index dd3ddcc74..506381965 100644 --- a/internal/restic/config_test.go +++ b/internal/restic/config_test.go @@ -36,6 +36,7 @@ func TestConfig(t *testing.T) { rtest.OK(t, err) _, err = saver(save).SaveJSONUnpacked(restic.ConfigFile, cfg1) + rtest.OK(t, err) load := func(ctx context.Context, tpe restic.FileType, id restic.ID, arg interface{}) error { rtest.Assert(t, tpe == restic.ConfigFile,