diff --git a/cmd/bpf2go/gen/output_test.go b/cmd/bpf2go/gen/output_test.go index 8d8b00744..c58eb9546 100644 --- a/cmd/bpf2go/gen/output_test.go +++ b/cmd/bpf2go/gen/output_test.go @@ -7,7 +7,6 @@ import ( "testing" "github.com/go-quicktest/qt" - "github.com/google/go-cmp/cmp" "github.com/cilium/ebpf/btf" "github.com/cilium/ebpf/cmd/bpf2go/internal" @@ -79,10 +78,6 @@ func TestPackageImport(t *testing.T) { qt.Assert(t, qt.StringContains(buf.String(), fmt.Sprintf(`"%s"`, internal.CurrentModule))) } -var typesEqualComparer = cmp.Comparer(func(a, b btf.Type) bool { - return a == b -}) - func TestCustomIdentifier(t *testing.T) { var buf bytes.Buffer args := GenerateArgs{