2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 21:05:10 +00:00

internal/repository: fix dropped test error

This commit is contained in:
Lars Lehtonen 2020-02-12 13:33:54 -08:00
parent 16b321b140
commit fea835b4e2
No known key found for this signature in database
GPG Key ID: 8137D474EBCB04F2

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)