mirror of https://github.com/restic/restic.git
internal/restic: fix dropped test error
This commit is contained in:
parent
81c0b031f9
commit
16b321b140
|
@ -36,6 +36,7 @@ func TestConfig(t *testing.T) {
|
||||||
rtest.OK(t, err)
|
rtest.OK(t, err)
|
||||||
|
|
||||||
_, err = saver(save).SaveJSONUnpacked(restic.ConfigFile, cfg1)
|
_, 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 {
|
load := func(ctx context.Context, tpe restic.FileType, id restic.ID, arg interface{}) error {
|
||||||
rtest.Assert(t, tpe == restic.ConfigFile,
|
rtest.Assert(t, tpe == restic.ConfigFile,
|
||||||
|
|
Loading…
Reference in New Issue