From 2638bb58bc2b42fe2dfe7954f76198a787e387ea Mon Sep 17 00:00:00 2001 From: Christoph Witzko Date: Fri, 20 Oct 2023 15:17:12 +0200 Subject: [PATCH] test: fix commit analyzer tests --- mock/commit_analyzer_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mock/commit_analyzer_test.go b/mock/commit_analyzer_test.go index 203bd99..b0891ac 100644 --- a/mock/commit_analyzer_test.go +++ b/mock/commit_analyzer_test.go @@ -23,7 +23,8 @@ func TestAnalyze(t *testing.T) { for _, tc := range testCases { t.Run(tc.RawMessage, func(t *testing.T) { commit := analyzeCommit(&semrel.RawCommit{ - RawMessage: tc.RawMessage, + RawMessage: tc.RawMessage, + Annotations: map[string]string{}, }) require.Equal(t, tc.Type, commit.Type) require.Equal(t, tc.Change.Patch, commit.Change.Patch)