Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: address various misspellings #144

Merged
merged 1 commit into from
Jul 19, 2020
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 dsl/matcher.go
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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