From c37b7afe4394b5c7fbd507faf50cb03b11af0a56 Mon Sep 17 00:00:00 2001 From: Timo Beckers Date: Tue, 17 Dec 2024 14:30:17 +0100 Subject: [PATCH] bpf2go: test: remove unused typesEqualComparer function Signed-off-by: Timo Beckers --- cmd/bpf2go/gen/output_test.go | 5 ----- 1 file changed, 5 deletions(-) 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{