pkg/archive: rm invalid test case from achive_windows_test.go

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
Upstream-commit: baebff38d5f5d1cdecbc2544e22a42acf82bbf93
Component: engine
This commit is contained in:
Ahmet Alp Balkan
2015-03-03 18:42:52 -08:00
parent d03a76c848
commit e76b08f45b

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 {