Skip to content

Commit

Permalink
proc: fix match condition in TestGnuDebuglink
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear authored and aarzilli committed Apr 7, 2023
1 parent 74a6981 commit 6605d46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/proc/proc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5917,7 +5917,7 @@ func TestGnuDebuglink(t *testing.T) {
for i := range normalBinInfo.Functions {
normalFn := normalBinInfo.Functions[i]
debuglinkFn := debuglinkBinInfo.Functions[i]
if normalFn.Entry != debuglinkFn.Entry || normalFn.Name != normalFn.Name {
if normalFn.Entry != debuglinkFn.Entry || normalFn.Name != debuglinkFn.Name {
t.Fatalf("function definition mismatch")
}
}
Expand Down

0 comments on commit 6605d46

Please sign in to comment.