internal/restic: fix dropped test error

This commit is contained in:
Lars Lehtonen 2020-02-12 13:32:45 -08:00
parent 81c0b031f9
commit 16b321b140
No known key found for this signature in database
GPG key ID: 8137D474EBCB04F2

View file

@ -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,