File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -600,10 +600,15 @@ func TestFormatOnboardPRBody(t *testing.T) {
600600 },
601601 api : "path/to" ,
602602 library : "one-library" ,
603- want : fmt .Sprintf (`feat: onboard a new library
603+ want : fmt .Sprintf (`BEGIN_COMMIT_OVERRIDE
604+
605+ feat: onboard a new library
604606
605607PiperOrigin-RevId: 98765
606608Library-IDs: one-library
609+
610+ END_COMMIT_OVERRIDE
611+
607612Librarian Version: %s
608613Language Image: %s` ,
609614 librarianVersion , "go:1.21" ),
Original file line number Diff line number Diff line change @@ -136,10 +136,15 @@ Language Image: {{.ImageVersion}}
136136{{- end }}
137137` ))
138138
139- onboardingBodyTemplate = template .Must (template .New ("onboardingBody" ).Parse (`feat: onboard a new library
139+ onboardingBodyTemplate = template .Must (template .New ("onboardingBody" ).Parse (`BEGIN_COMMIT_OVERRIDE
140+
141+ feat: onboard a new library
140142
141143PiperOrigin-RevId: {{.PiperID}}
142144Library-IDs: {{.LibraryID}}
145+
146+ END_COMMIT_OVERRIDE
147+
143148Librarian Version: {{.LibrarianVersion}}
144149Language Image: {{.ImageVersion}}
145150` ))
You can’t perform that action at this time.
0 commit comments