Skip to content

Commit

Permalink
test: fix commit analyzer tests
Browse files Browse the repository at this point in the history
  • Loading branch information
christophwitzko committed Oct 20, 2023
1 parent da0d7b4 commit 2638bb5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mock/commit_analyzer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2638bb5

Please sign in to comment.