@@ -128,9 +128,9 @@ func TestInit(t *testing.T) {
128128 "source_roots": ["secretmanager"],
129129 "apis": [{"path": "google/cloud/secretmanager/v1"}],
130130 "changes": [
131- {"type": "feat", "subject": "another feature", "source_commit_hash ": "zxcvbn098765"},
132- {"type": "fix", "subject": "correct typo in documentation", "source_commit_hash ": "123456abcdef"},
133- {"type": "feat", "subject": "add new GetSecret API", "source_commit_hash ": "abcdef123456"}
131+ {"type": "feat", "subject": "another feature", "commit_hash ": "zxcvbn098765"},
132+ {"type": "fix", "subject": "correct typo in documentation", "commit_hash ": "123456abcdef"},
133+ {"type": "feat", "subject": "add new GetSecret API", "commit_hash ": "abcdef123456"}
134134 ],
135135 "tag_format": "{id}/v{version}"
136136 }]
@@ -169,9 +169,9 @@ func TestInit(t *testing.T) {
169169 "id": "wholerepo", "version": "1.16.0", "release_triggered": true,
170170 "source_roots": ["."],
171171 "changes": [
172- {"type": "feat", "subject": "another feature", "source_commit_hash ": "zxcvbn098765"},
173- {"type": "fix", "subject": "correct typo in documentation", "source_commit_hash ": "123456abcdef"},
174- {"type": "feat", "subject": "add new GetSecret API", "source_commit_hash ": "abcdef123456"}
172+ {"type": "feat", "subject": "another feature", "commit_hash ": "zxcvbn098765"},
173+ {"type": "fix", "subject": "correct typo in documentation", "commit_hash ": "123456abcdef"},
174+ {"type": "feat", "subject": "add new GetSecret API", "commit_hash ": "abcdef123456"}
175175 ],
176176 "tag_format": "v{version}"
177177 }]
@@ -191,9 +191,9 @@ func TestInit(t *testing.T) {
191191 "id": "root-module", "version": "1.16.0", "release_triggered": true,
192192 "source_roots": ["civil", "rpcreplay", "httpreplay"],
193193 "changes": [
194- {"type": "feat", "subject": "another feature", "source_commit_hash ": "zxcvbn098765"},
195- {"type": "fix", "subject": "correct typo in documentation", "source_commit_hash ": "123456abcdef"},
196- {"type": "feat", "subject": "add new GetSecret API", "source_commit_hash ": "abcdef123456"}
194+ {"type": "feat", "subject": "another feature", "commit_hash ": "zxcvbn098765"},
195+ {"type": "fix", "subject": "correct typo in documentation", "commit_hash ": "123456abcdef"},
196+ {"type": "feat", "subject": "add new GetSecret API", "commit_hash ": "abcdef123456"}
197197 ],
198198 "tag_format": "v{version}"
199199 }]
@@ -213,7 +213,7 @@ func TestInit(t *testing.T) {
213213 "id": "xyz", "version": "1.16.0", "release_triggered": true,
214214 "source_roots": ["xyz"],
215215 "changes": [
216- {"type": "feat", "subject": "another feature", "source_commit_hash ": "zxcvbn098765"}
216+ {"type": "feat", "subject": "another feature", "commit_hash ": "zxcvbn098765"}
217217 ],
218218 "tag_format": "custom-{id}-v{version}"
219219 }]
0 commit comments