mirror of
https://github.com/octoleo/restic.git
synced 2024-11-26 23:06:32 +00:00
internal/repository: fix dropped test error
This commit is contained in:
parent
16b321b140
commit
fea835b4e2
@ -134,6 +134,7 @@ func TestIndexSerialize(t *testing.T) {
|
|||||||
id := restic.NewRandomID()
|
id := restic.NewRandomID()
|
||||||
rtest.OK(t, idx.SetID(id))
|
rtest.OK(t, idx.SetID(id))
|
||||||
id2, err := idx.ID()
|
id2, err := idx.ID()
|
||||||
|
rtest.OK(t, err)
|
||||||
rtest.Assert(t, id2.Equal(id),
|
rtest.Assert(t, id2.Equal(id),
|
||||||
"wrong ID returned: want %v, got %v", id, id2)
|
"wrong ID returned: want %v, got %v", id, id2)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user