@@ -59,7 +59,7 @@ func TestProcessCommit(t *testing.T) {
59
59
wantErr bool
60
60
}{
61
61
{
62
- name : "first test" ,
62
+ name : "test nested commits " ,
63
63
title : "feat: [REPLACEME] Adds named reservation to InstancePolicy" ,
64
64
body : `- [ ] Regenerate this pull request now.
65
65
@@ -123,6 +123,27 @@ Source-Link: https://github.com/googleapis/googleapis-gen/commit/5b3d3a550015e
123
123
Copy-Tag: eyJwIjoiamF2YS1iYXRjaC8uT3dsQm90LnlhbWwiLCJoIjoiNWIzZDNhNTUwMDE1ZTkzNjdhZDEzZWU1ZjlmZWJlMGMzZjg0Y2YzMyJ9
124
124
END_NESTED_COMMIT` ,
125
125
},
126
+ {
127
+ name : "test nested client scope" ,
128
+ title : "feat: [REPLACEME] added JSON_PACKAGE field to ExportAgentRequest" ,
129
+ body : `- [ ] Regenerate this pull request now.
130
+
131
+ PiperOrigin-RevId: 504031208
132
+
133
+ Source-Link: https://github.com/googleapis/googleapis/commit/c6af392b613b435757358fac555628d84e443abd
134
+
135
+ Source-Link: googleapis/googleapis-gen@7849764
136
+ Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzg0OTc2NDc3NzYyZDk4YTljMzA4MzRkYzQ1ODVkODE1YWYyZmJmYiJ9` ,
137
+ want : "feat(dialogflow/cx): added JSON_PACKAGE field to ExportAgentRequest" ,
138
+ want1 : `- [ ] Regenerate this pull request now.
139
+
140
+ PiperOrigin-RevId: 504031208
141
+
142
+ Source-Link: https://github.com/googleapis/googleapis/commit/c6af392b613b435757358fac555628d84e443abd
143
+
144
+ Source-Link: googleapis/googleapis-gen@7849764
145
+ Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzg0OTc2NDc3NzYyZDk4YTljMzA4MzRkYzQ1ODVkODE1YWYyZmJmYiJ9` ,
146
+ },
126
147
}
127
148
for _ , tt := range tests {
128
149
0 commit comments