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

Fix filenames for layout tests

This commit is contained in:
Alexander Neumann 2017-05-16 20:45:17 +02:00
parent 55ae5dab2b
commit 2fa1238b8a

View File

@ -12,12 +12,10 @@ func TestRestoreLocalLayout(t *testing.T) {
filename string filename string
layout string layout string
}{ }{
{"repo-layout-cloud.tar.gz", ""}, {"repo-layout-default.tar.gz", ""},
{"repo-layout-local.tar.gz", ""}, {"repo-layout-s3legacy.tar.gz", ""},
{"repo-layout-s3-old.tar.gz", ""}, {"repo-layout-default.tar.gz", "default"},
{"repo-layout-cloud.tar.gz", "cloud"}, {"repo-layout-s3legacy.tar.gz", "s3legacy"},
{"repo-layout-local.tar.gz", "default"},
{"repo-layout-s3-old.tar.gz", "s3"},
} }
for _, test := range tests { for _, test := range tests {