aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux_test.go
diff options
context:
space:
mode:
authorJoey Jiao <quic_jiangenj@quicinc.com>2024-07-11 08:19:38 +0800
committerAlexander Potapenko <glider@google.com>2024-07-23 12:07:55 +0000
commite50e8da5c493b37bff754d816c11218eba03d715 (patch)
treecc27b74f029f84dbbc6d67ad5ab49246af9db941 /pkg/report/linux_test.go
parent0c7d1522f3a40057c0c57e8915efc8368dfdcebb (diff)
pkg/report: remove args which already in ctx
Diffstat (limited to 'pkg/report/linux_test.go')
-rw-r--r--pkg/report/linux_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/report/linux_test.go b/pkg/report/linux_test.go
index 756576e98..f24b72d59 100644
--- a/pkg/report/linux_test.go
+++ b/pkg/report/linux_test.go
@@ -291,7 +291,7 @@ func TestLinuxSymbolizeLine(t *testing.T) {
}
for i, test := range tests {
t.Run(fmt.Sprint(i), func(t *testing.T) {
- result := symbolizeLine(symb, symbols, modules, "/linux", ctx, []byte(test.line))
+ result := symbolizeLine(symb, ctx, []byte(test.line))
if test.result != string(result) {
t.Errorf("want %q\n\t get %q", test.result, string(result))
}