()
| 92 | } |
| 93 | |
| 94 | func entryWithSubtext() *chlog.Entry { |
| 95 | lines := []string{"- foo\n - bar\n- blah\n - 1234567"} |
| 96 | |
| 97 | return &chlog.Entry{ |
| 98 | ChangeType: chlog.Breaking, |
| 99 | Component: "processor/oops", |
| 100 | Note: "Change behavior when ...", |
| 101 | Issues: []int{12350}, |
| 102 | SubText: strings.Join(lines, "\n"), |
| 103 | User: "octocat", |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | func entryForChangelogs(changeType string, issue int, keys ...string) *chlog.Entry { |
| 108 | keyStr := "default" |
no test coverage detected