Skip to content

Commit

Permalink
Merge pull request #186 from dabfleming/docs-fix
Browse files Browse the repository at this point in the history
docs: misc fixes
  • Loading branch information
mefellows committed Oct 15, 2021
2 parents 3a89e96 + e0541b5 commit a1e0f84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The following package exposes aliases for the most commonly used interfaces for

#### Primary Interface

- `dsl.Pact` was the primary interface. This is now replaced with `NewPactV2` and the `NewPactV3` methods, which will return you a builder for the corresponding specification.
- `dsl.Pact` was the primary interface. This is now replaced with `NewV2Pact` and the `NewV3Pact` methods, which will return you a builder for the corresponding specification.
- `Verify` is now `ExecuteTest` to avoid ambiguity with provider side verification. It also accepts a `*testing.T` argument, to improve error reporting and resolution.

These are available in consumer package: `"github.com/pact-foundation/pact-go/v2/consumer"`
Expand Down Expand Up @@ -83,7 +83,7 @@ Query strings are now accepted (and [encoded](https://github.com/pact-foundation

- `dsl.Pact` was the primary interface. This is now replaced with `HTTPVerifier` struct and `VerifyProvider` method.

These are available in consumer package: `"github.com/pact-foundation/pact-go/v2/provider"`
These are available in provider package: `"github.com/pact-foundation/pact-go/v2/provider"`

#### Provider State Handlers

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Learn everything in Pact Go in 60 minutes: https://github.com/pact-foundation/pa

```shell
# install pact-go as a dev dependency
go get github.com/pact-foundation/pact-go/v2/@2.x.x
go get github.com/pact-foundation/pact-go/v2@2.x.x

# download and install the required libraries
pact-go -l DEBUG install
Expand Down

0 comments on commit a1e0f84

Please sign in to comment.