Merge pull request #2577 from alrs/fix-internal-errs

internal: Fix code and test dropped errors
This commit is contained in:
rawtaz authored and GitHub committed 2020-02-12 23:41:54 +01:00
commit d8da9c4401
4 files changed
+7

No files matched your search

+1
View File
@@ -134,6 +134,7 @@ func TestIndexSerialize(t *testing.T) {
id := restic.NewRandomID()
rtest.OK(t, idx.SetID(id))
id2, err := idx.ID()
rtest.OK(t, err)
rtest.Assert(t, id2.Equal(id),
"wrong ID returned: want %v, got %v", id, id2)