Skip to content

Commit 3225494

Browse files
committed
#11 Adding GRPC_PROTOBU test runner
1 parent c4359fd commit 3225494

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmd/test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
)
1414

1515
var (
16-
runnerChoices = map[string]bool{"HTTP": true, "SOAP_HTTP": true, "SOAP_UI": true, "POSTMAN": true, "OPEN_API_SCHEMA": true, "ASYNC_API_SCHEMA": true}
16+
runnerChoices = map[string]bool{"HTTP": true, "SOAP_HTTP": true, "SOAP_UI": true, "POSTMAN": true, "OPEN_API_SCHEMA": true, "ASYNC_API_SCHEMA": true, "GRPC_PROTOBUF": true}
1717
timeUnitChoices = map[string]bool{"milli": true, "sec": true, "min": true}
1818
)
1919

@@ -25,7 +25,7 @@ func NewTestCommand() Command {
2525
return new(testComamnd)
2626
}
2727

28-
// Execute implementation onf testCommand structure
28+
// Execute implementation of testCommand structure
2929
func (c *testComamnd) Execute() {
3030

3131
// Parse subcommand args first.
@@ -52,7 +52,7 @@ func (c *testComamnd) Execute() {
5252
os.Exit(1)
5353
}
5454
if _, validChoice := runnerChoices[runnerType]; !validChoice {
55-
fmt.Println("<runner> should be one of: HTTP, SOAP, SOAP_UI, POSTMAN, OPEN_API_SCHEMA")
55+
fmt.Println("<runner> should be one of: HTTP, SOAP, SOAP_UI, POSTMAN, OPEN_API_SCHEMA, ASYNC_API_SCHEMA, GRPC_PROTOBUF")
5656
os.Exit(1)
5757
}
5858

0 commit comments

Comments
 (0)