diff --git a/pkg/archive/archive_windows_test.go b/pkg/archive/archive_windows_test.go index 2b7993c293..64f47264db 100644 --- a/pkg/archive/archive_windows_test.go +++ b/pkg/archive/archive_windows_test.go @@ -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 {