Skip to content

Commit

Permalink
fix: don't expect specific FS error (not portable)
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Aug 14, 2017
1 parent b62c54e commit 29e4bc9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ deploy: false

test_script:
- go build github.com/pact-foundation/pact-go
- for /f "" %%G in ('go list github.com/pact-foundation/pact-go/... ^| find /i /v "/vendor/"') do ( go test %%G & IF ERRORLEVEL == 1 EXIT 1)
- for /f "" %%G in ('go list github.com/pact-foundation/pact-go/... ^| find /i /v "/vendor/"') do ( go test -v %%G & IF ERRORLEVEL == 1 EXIT 1)
1 change: 1 addition & 0 deletions daemon/mock_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ func (m *MockService) NewService(args []string) (int, Service) {
log.Println("[DEBUG] starting mock service on port:", port)

m.Args = []string{
"service",
"--port",
fmt.Sprintf("%d", port),
}
Expand Down
2 changes: 1 addition & 1 deletion dsl/publish_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func TestPublish_validate(t *testing.T) {
}

err = p.validate()
if err != nil {
if err == nil {
t.Fatal("Expected error but got none")
}

Expand Down

0 comments on commit 29e4bc9

Please sign in to comment.