Browse Source

Merge pull request #42390 from thaJeztah/skip_defunct_test

pkg/fileutils: TestMatches: remove cases no longer valid for go1.16
Brian Goff 4 năm trước cách đây
mục cha
commit
328d23f625
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      pkg/fileutils/fileutils_test.go

+ 0 - 2
pkg/fileutils/fileutils_test.go

@@ -377,8 +377,6 @@ func TestMatches(t *testing.T) {
 	if runtime.GOOS != "windows" {
 		tests = append(tests, []matchesTestCase{
 			{"a\\*b", "a*b", true},
-			{"a\\", "a", false},
-			{"a\\", "a\\", false},
 		}...)
 	}