Skip to content

Commit 77475bf

Browse files
committed
parser/gotest: Fix test error messages in report_builder_test.go
1 parent 7b10b42 commit 77475bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

parser/gotest/report_builder_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ func TestReport(t *testing.T) {
121121
}
122122
got := rb.Build()
123123
if diff := cmp.Diff(want, got); diff != "" {
124-
t.Errorf("FromEvents report incorrect, diff (-want, +got):\n%v", diff)
124+
t.Errorf("Incorrect report created, diff (-want, +got):\n%v", diff)
125125
}
126126
}
127127

@@ -181,7 +181,7 @@ func TestBuildReportMultiplePackages(t *testing.T) {
181181
}
182182
got := rb.Build()
183183
if diff := cmp.Diff(want, got); diff != "" {
184-
t.Errorf("FromEvents report incorrect, diff (-want, +got):\n%v", diff)
184+
t.Errorf("Incorrect report created, diff (-want, +got):\n%v", diff)
185185
}
186186
}
187187

0 commit comments

Comments
 (0)