File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ Read more about [flexible matching](https://github.com/realestate-com-au/pact/wi
249
249
]
250
250
]`)
251
251
})
252
- go http.ListenAndServe(":8000") , mux)
252
+ go http.ListenAndServe(":8000", mux)
253
253
```
254
254
255
255
Note that the server has 2 endpoints: `/states` and `/setup` that allows the
Original file line number Diff line number Diff line change @@ -179,10 +179,13 @@ func (p *Pact) Verify(integrationTest func() error) error {
179
179
}
180
180
181
181
// Run the integration test
182
- integrationTest ()
182
+ err := integrationTest ()
183
+ if err != nil {
184
+ return err
185
+ }
183
186
184
187
// Run Verification Process
185
- err : = mockServer .Verify ()
188
+ err = mockServer .Verify ()
186
189
if err != nil {
187
190
return err
188
191
}
You can’t perform that action at this time.
0 commit comments