Browse Source

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

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
Ahmet Alp Balkan 10 năm trước cách đây
mục cha
commit
baebff38d5
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      pkg/archive/archive_windows_test.go

+ 0 - 1
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 {