mirror of
https://github.com/restic/restic.git
synced 2025-10-09 13:12:16 +00:00
Merge pull request #2577 from alrs/fix-internal-errs
internal: Fix code and test dropped errors
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user