aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/report/linux_test.go')
-rw-r--r--pkg/report/linux_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/report/linux_test.go b/pkg/report/linux_test.go
index 38786b087..9dfbdb640 100644
--- a/pkg/report/linux_test.go
+++ b/pkg/report/linux_test.go
@@ -2910,8 +2910,9 @@ Call Trace:
if err != nil {
t.Fatal(err)
}
+ linux := reporter.(*linux)
for report, guilty0 := range tests {
- if guilty := reporter.ExtractGuiltyFile([]byte(report)); guilty != guilty0 {
+ if guilty := linux.extractGuiltyFile([]byte(report)); guilty != guilty0 {
t.Logf("log:\n%s", report)
t.Logf("want guilty:\n%s", guilty0)
t.Logf("got guilty:\n%s", guilty)