diff options
Diffstat (limited to 'src/path/filepath/match_test.go')
| -rw-r--r-- | src/path/filepath/match_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/path/filepath/match_test.go b/src/path/filepath/match_test.go index c6b1c50520..3cee92f8ae 100644 --- a/src/path/filepath/match_test.go +++ b/src/path/filepath/match_test.go @@ -9,7 +9,6 @@ import ( "internal/testenv" "os" . "path/filepath" - "reflect" "runtime" "slices" "strings" @@ -367,7 +366,7 @@ func TestNonWindowsGlobEscape(t *testing.T) { if err != nil { t.Fatalf("Glob error for %q: %s", pattern, err) } - if !reflect.DeepEqual(matches, want) { + if !slices.Equal(matches, want) { t.Fatalf("Glob(%#q) = %v want %v", pattern, matches, want) } } |
