Commit 292feb4
test(changelog): cover changelog_subject_only config wiring
Add an end-to-end test that sets `changelog_subject_only = true` in
the project configuration, creates a commit with a parser-matching
block in its body, and asserts that `cz changelog --dry-run` only
emits the subject entry. Catches typos in the setting key at
`commands/changelog.py:279` (which would otherwise silently fall
back to `False`); manually verified by injecting a typo, observing
the test fail with KeyError, then restoring.
Addresses the only review finding from PR #1974.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 591fc33 commit 292feb4
1 file changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
90 | 116 | | |
91 | 117 | | |
92 | 118 | | |
| |||
0 commit comments