aboutsummaryrefslogtreecommitdiff
path: root/src/internal/godebug/godebug_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/godebug/godebug_test.go')
-rw-r--r--src/internal/godebug/godebug_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/internal/godebug/godebug_test.go b/src/internal/godebug/godebug_test.go
index 5d426fd52e..6929630356 100644
--- a/src/internal/godebug/godebug_test.go
+++ b/src/internal/godebug/godebug_test.go
@@ -11,7 +11,6 @@ import (
"internal/testenv"
"os"
"os/exec"
- "reflect"
"runtime/metrics"
"slices"
"strings"
@@ -125,7 +124,7 @@ func TestCmdBisect(t *testing.T) {
}
slices.Sort(have)
- if !reflect.DeepEqual(have, want) {
+ if !slices.Equal(have, want) {
t.Errorf("bad bisect output:\nhave %v\nwant %v\ncomplete output:\n%s", have, want, string(out))
}
}