refactor(changelog): remove unused Version and Now fields, fixed spelling

This commit is contained in:
maulik13
2021-02-22 14:57:50 +01:00
committed by Felix Wiedmann
parent 5a58d039fb
commit df058a927f
3 changed files with 5 additions and 9 deletions

View File

@@ -249,7 +249,7 @@ func TestChangelog(t *testing.T) {
for _, config := range testConfigs {
t.Run(config.testCase, func(t *testing.T) {
generatedChangelog, err := cl.GenerateChanglog(templateConfig, config.analyzedCommits)
generatedChangelog, err := cl.GenerateChangelog(templateConfig, config.analyzedCommits)
assert.Equalf(t, config.hasError, err != nil, "Testcase %s should have error: %t -> %s", config.testCase, config.hasError, err)
assert.Equalf(t, config.result, generatedChangelog, "Testcase %s should have generated changelog", config.testCase)
})