Merge pull request #11147 from ahmetalpbalkan/archive_test_fix

pkg/archive: rm invalid test case from achive_windows_test.go
This commit is contained in:
Tibor Vass 2015-03-04 09:51:36 -05:00
commit 359ced0e44

View file

@ -14,7 +14,6 @@ func TestCanonicalTarNameForPath(t *testing.T) {
{"foo", "foo", false},
{"foo/bar", "___", true}, // unix-styled windows path must fail
{`foo\bar`, "foo/bar", false},
{`foo\bar`, "foo/bar/", false},
}
for _, v := range cases {
if out, err := CanonicalTarNameForPath(v.in); err != nil && !v.shouldFail {