Skip to content

Commit

Permalink
rename var
Browse files Browse the repository at this point in the history
  • Loading branch information
stan-is-hate committed Sep 18, 2023
1 parent 8220a60 commit c390b6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func TestV3HTTPProvider(t *testing.T) {
return models.ProviderStateResponse{"uuid": "1234"}, nil
},
},
DisableColorOutput: true,
DisableColoredOutput: true,
})

assert.NoError(t, err)
Expand Down
4 changes: 2 additions & 2 deletions provider/verify_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ type VerifyRequest struct {
DisableSSLVerification bool

// If true, will disable colored output in console.
DisableColorOutput bool
DisableColoredOutput bool
}

// Validate checks that the minimum fields are provided.
Expand Down Expand Up @@ -264,7 +264,7 @@ func (v *VerifyRequest) validate(handle *native.Verifier) error {
}

handle.SetNoPactsIsError(v.FailIfNoPactsFound)
handle.SetColoredOutput(!v.DisableColorOutput)
handle.SetColoredOutput(!v.DisableColoredOutput)

return nil
}
Expand Down

0 comments on commit c390b6d

Please sign in to comment.