Fix filenames for layout tests

This commit is contained in:
Alexander Neumann 2017-05-16 20:45:17 +02:00
parent 55ae5dab2b
commit 2fa1238b8a
1 changed files with 4 additions and 6 deletions

View File

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