Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion testing/codegen/templates/suite_test.go.tpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ printf "Run%sHarness exercises the generated harness against your service implementation." .Service.Name | comment }}
{{ printf "Run%sHarness exercises the generated harness against your service implementation." .Service.StructName | comment }}
{{ printf "Call this helper from your test, passing your service implementation." | comment }}
func Run{{ .Service.StructName }}Harness(t *testing.T, svc {{ .Service.PkgName }}.Service) {
t.Helper()
Expand Down
2 changes: 1 addition & 1 deletion testing/examples/calculator/calculator_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
calculatortest "goa.design/plugins/v3/testing/examples/calculator/gen/calculator/calculatortest"
)

// RuncalculatorHarness exercises the generated harness against your service
// RunCalculatorHarness exercises the generated harness against your service
// implementation.
// Call this helper from your test, passing your service implementation.
func RunCalculatorHarness(t *testing.T, svc calculator.Service) {
Expand Down
4 changes: 2 additions & 2 deletions testing/examples/httpgrpc/test_http_grpc_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
testHTTPGrpctest "goa.design/plugins/v3/testing/examples/httpgrpc/gen/test_http_grpc/test_http_grpctest"
)

// Runtest-http-grpcHarness exercises the generated harness against your
// service implementation.
// RunTestHTTPGrpcHarness exercises the generated harness against your service
// implementation.
// Call this helper from your test, passing your service implementation.
func RunTestHTTPGrpcHarness(t *testing.T, svc testhttpgrpc.Service) {
t.Helper()
Expand Down
2 changes: 1 addition & 1 deletion testing/examples/jsonrpc/test_jsonrpc_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
testJsonrpctest "goa.design/plugins/v3/testing/examples/jsonrpc/gen/test_jsonrpc/test_jsonrpctest"
)

// Runtest-jsonrpcHarness exercises the generated harness against your service
// RunTestJsonrpcHarness exercises the generated harness against your service
// implementation.
// Call this helper from your test, passing your service implementation.
func RunTestJsonrpcHarness(t *testing.T, svc testjsonrpc.Service) {
Expand Down
Loading