From 77475bf23b8e08eedfdf1b34a5b6f0b760d3c24b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Stemmer?= Date: Sat, 17 Sep 2022 00:03:11 +0100 Subject: [PATCH] parser/gotest: Fix test error messages in report_builder_test.go --- parser/gotest/report_builder_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parser/gotest/report_builder_test.go b/parser/gotest/report_builder_test.go index c89855b..99adfca 100644 --- a/parser/gotest/report_builder_test.go +++ b/parser/gotest/report_builder_test.go @@ -121,7 +121,7 @@ func TestReport(t *testing.T) { } got := rb.Build() if diff := cmp.Diff(want, got); diff != "" { - t.Errorf("FromEvents report incorrect, diff (-want, +got):\n%v", diff) + t.Errorf("Incorrect report created, diff (-want, +got):\n%v", diff) } } @@ -181,7 +181,7 @@ func TestBuildReportMultiplePackages(t *testing.T) { } got := rb.Build() if diff := cmp.Diff(want, got); diff != "" { - t.Errorf("FromEvents report incorrect, diff (-want, +got):\n%v", diff) + t.Errorf("Incorrect report created, diff (-want, +got):\n%v", diff) } }