0
0
mirror of https://github.com/thegeeklab/git-sv.git synced 2024-11-22 08:20:39 +00:00
This commit is contained in:
Robert Kaussow 2023-10-13 23:32:14 +02:00
parent 4d8619e6eb
commit c06748910e
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -11,17 +11,13 @@ import (
var templatesFS = os.DirFS("../cmd/git-sv/resources/templates") var templatesFS = os.DirFS("../cmd/git-sv/resources/templates")
var dateChangelog = `## v1.0.0 (2020-05-01) var dateChangelog = `## v1.0.0 (2020-05-01)`
`
var nonVersioningChangelog = `## abc (2020-05-01) var nonVersioningChangelog = `## abc (2020-05-01)`
`
var emptyDateChangelog = `## v1.0.0 var emptyDateChangelog = `## v1.0.0`
`
var emptyVersionChangelog = `## 2020-05-01 var emptyVersionChangelog = `## 2020-05-01`
`
var fullChangeLog = `## v1.0.0 (2020-05-01) var fullChangeLog = `## v1.0.0 (2020-05-01)
@ -39,8 +35,7 @@ var fullChangeLog = `## v1.0.0 (2020-05-01)
### Breaking Changes ### Breaking Changes
- break change message - break change message`
`
func TestOutputFormatterImpl_FormatReleaseNote(t *testing.T) { func TestOutputFormatterImpl_FormatReleaseNote(t *testing.T) {
date, _ := time.Parse("2006-01-02", "2020-05-01") date, _ := time.Parse("2006-01-02", "2020-05-01")