diff --git a/snapshot/archive_test.go b/snapshot/archive_test.go index 05fdd378a..9d07e32dc 100644 --- a/snapshot/archive_test.go +++ b/snapshot/archive_test.go @@ -68,14 +68,14 @@ func TestArchive_BadData(t *testing.T) { Name string Error string }{ - {"../../test/snapshot/empty.tar", "failed checking integrity of snapshot"}, - {"../../test/snapshot/extra.tar", "unexpected file \"nope\""}, - {"../../test/snapshot/missing-meta.tar", "hash check failed for \"meta.json\""}, - {"../../test/snapshot/missing-state.tar", "hash check failed for \"state.bin\""}, - {"../../test/snapshot/missing-sha.tar", "file missing"}, - {"../../test/snapshot/corrupt-meta.tar", "hash check failed for \"meta.json\""}, - {"../../test/snapshot/corrupt-state.tar", "hash check failed for \"state.bin\""}, - {"../../test/snapshot/corrupt-sha.tar", "list missing hash for \"nope\""}, + {"../test/snapshot/empty.tar", "failed checking integrity of snapshot"}, + {"../test/snapshot/extra.tar", "unexpected file \"nope\""}, + {"../test/snapshot/missing-meta.tar", "hash check failed for \"meta.json\""}, + {"../test/snapshot/missing-state.tar", "hash check failed for \"state.bin\""}, + {"../test/snapshot/missing-sha.tar", "file missing"}, + {"../test/snapshot/corrupt-meta.tar", "hash check failed for \"meta.json\""}, + {"../test/snapshot/corrupt-state.tar", "hash check failed for \"state.bin\""}, + {"../test/snapshot/corrupt-sha.tar", "list missing hash for \"nope\""}, } for i, c := range cases { f, err := os.Open(c.Name)