Skip to content

Commit

Permalink
bpf2go: test: remove unused typesEqualComparer function
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Beckers <[email protected]>
  • Loading branch information
ti-mo committed Dec 18, 2024
1 parent 97cfce5 commit c37b7af
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cmd/bpf2go/gen/output_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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{
Expand Down

0 comments on commit c37b7af

Please sign in to comment.