2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-29 16:23:59 +00:00

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,