Skip to content

Commit

Permalink
fix: address various misspellings
Browse files Browse the repository at this point in the history
  • Loading branch information
bvwells committed Jul 18, 2020
1 parent c77c0fd commit 1c18257
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dsl/matcher.go
Expand Up @@ -127,7 +127,7 @@ func Term(generate string, matcher string) Matcher {
}
}

// HexValue defines a matcher that accepts hexidecimal values.
// HexValue defines a matcher that accepts hexadecimal values.
func HexValue() Matcher {
return Regex("3F", hexadecimal)
}
Expand Down
8 changes: 4 additions & 4 deletions dsl/pact.go
Expand Up @@ -424,7 +424,7 @@ func (p *Pact) VerifyProvider(t *testing.T, request types.VerifyRequest) ([]type
var installer = install.NewInstaller()

var checkCliCompatibility = func() {
log.Println("[DEBUG] checking CLI compatability")
log.Println("[DEBUG] checking CLI compatibility")
err := installer.CheckInstallation()

if err != nil {
Expand Down Expand Up @@ -597,7 +597,7 @@ func generateTestCaseName(res types.ProviderVerifierResponse) string {
// running provider message verification with granular test reporting and
// automatic failure reporting for nice, simple tests.
//
// A Message Producer is analagous to Consumer in the HTTP Interaction model.
// A Message Producer is analogous to Consumer in the HTTP Interaction model.
// It is the initiator of an interaction, and expects something on the other end
// of the interaction to respond - just in this case, not immediately.
func (p *Pact) VerifyMessageProvider(t *testing.T, request VerifyMessageRequest) (res []types.ProviderVerifierResponse, err error) {
Expand Down Expand Up @@ -645,7 +645,7 @@ func runTestCases(t *testing.T, res []types.ProviderVerifierResponse) {

// VerifyMessageProviderRaw runs provider message verification.
//
// A Message Producer is analagous to Consumer in the HTTP Interaction model.
// A Message Producer is analogous to Consumer in the HTTP Interaction model.
// It is the initiator of an interaction, and expects something on the other end
// of the interaction to respond - just in this case, not immediately.
func (p *Pact) VerifyMessageProviderRaw(request VerifyMessageRequest) ([]types.ProviderVerifierResponse, error) {
Expand Down Expand Up @@ -704,7 +704,7 @@ func (p *Pact) VerifyMessageProviderRaw(request VerifyMessageRequest) ([]types.P
// interaction.
//
//
// A Message Consumer is analagous to a Provider in the HTTP Interaction model.
// A Message Consumer is analogous to a Provider in the HTTP Interaction model.
// It is the receiver of an interaction, and needs to be able to handle whatever
// request was provided.
func (p *Pact) VerifyMessageConsumerRaw(message *Message, handler MessageConsumer) error {
Expand Down
2 changes: 1 addition & 1 deletion install/installer.go
Expand Up @@ -53,7 +53,7 @@ func (i *Installer) CheckInstallation() error {
}

// CheckVersion checks installation of a given binary using semver-compatible
// comparisions
// comparisons
func (i *Installer) CheckVersion(binary, version string) error {
log.Println("[DEBUG] checking version for binary", binary, "version", version)
v, err := goversion.NewVersion(version)
Expand Down
2 changes: 1 addition & 1 deletion types/provider_verifier_response.go
@@ -1,6 +1,6 @@
package types

// ProviderVerifierResponse contains the ouput of the pact-provider-verifier
// ProviderVerifierResponse contains the output of the pact-provider-verifier
// command.
type ProviderVerifierResponse struct {
Version string `json:"version"`
Expand Down
2 changes: 1 addition & 1 deletion types/reification_response.go
@@ -1,6 +1,6 @@
package types

// ReificationResponse contains the ouput of the reification request
// ReificationResponse contains the output of the reification request
type ReificationResponse struct {
// Interface wrapped object
Response interface{}
Expand Down

0 comments on commit 1c18257

Please sign in to comment.