Skip to content

Commit 1d74ca0

Browse files
committed
Add a newline to a comment
1 parent 80dcbc8 commit 1d74ca0

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

testing/codegen/templates/suite_test.go.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{{- printf "Run%sHarness exercises the generated harness against your service implementation." .Service.Name | comment }}
2-
{{- printf "Call this helper from your test, passing your service implementation." | comment }}
1+
{{ printf "Run%sHarness exercises the generated harness against your service implementation." .Service.Name | comment }}
2+
{{ printf "Call this helper from your test, passing your service implementation." | comment }}
33
func Run{{ .Service.StructName }}Harness(t *testing.T, svc {{ .Service.PkgName }}.Service) {
44
t.Helper()
55
{{- if .UseCtx }}

testing/codegen/testdata/code.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,8 @@ func (r *ScenarioRunner) selectTransport(client *Client, transport string) *Clie
914914
`
915915

916916
var SuiteTestWithResultCode = `// RunWithResultServiceHarness exercises the generated harness against your
917-
// service implementation.// Call this helper from your test, passing your service implementation.
917+
// service implementation.
918+
// Call this helper from your test, passing your service implementation.
918919
func RunWithResultServiceHarness(t *testing.T, svc withresultservice.Service) {
919920
t.Helper()
920921
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
@@ -937,7 +938,8 @@ func RunWithResultServiceHarness(t *testing.T, svc withresultservice.Service) {
937938
`
938939

939940
var SuiteTestWithoutResultCode = `// RunWithoutResultServiceHarness exercises the generated harness against your
940-
// service implementation.// Call this helper from your test, passing your service implementation.
941+
// service implementation.
942+
// Call this helper from your test, passing your service implementation.
941943
func RunWithoutResultServiceHarness(t *testing.T, svc withoutresultservice.Service) {
942944
t.Helper()
943945
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)

0 commit comments

Comments
 (0)