mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
pkg/archive: rm invalid test case from achive_windows_test.go
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
This commit is contained in:
parent
5929f401fc
commit
baebff38d5
1 changed files with 0 additions and 1 deletions
|
@ -14,7 +14,6 @@ func TestCanonicalTarNameForPath(t *testing.T) {
|
||||||
{"foo", "foo", false},
|
{"foo", "foo", false},
|
||||||
{"foo/bar", "___", true}, // unix-styled windows path must fail
|
{"foo/bar", "___", true}, // unix-styled windows path must fail
|
||||||
{`foo\bar`, "foo/bar", false},
|
{`foo\bar`, "foo/bar", false},
|
||||||
{`foo\bar`, "foo/bar/", false},
|
|
||||||
}
|
}
|
||||||
for _, v := range cases {
|
for _, v := range cases {
|
||||||
if out, err := CanonicalTarNameForPath(v.in); err != nil && !v.shouldFail {
|
if out, err := CanonicalTarNameForPath(v.in); err != nil && !v.shouldFail {
|
||||||
|
|
Loading…
Reference in a new issue