Skip to content

Commit

Permalink
chore: fix log websocket test for Windows (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
didil authored and bobheadxi committed Feb 7, 2019
1 parent 026ecae commit e600916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ func TestLogsWebsocketNoDaemon(t *testing.T) {
d := newMockClient(testServer)
_, err := d.LogsWebSocket("docker-compose", 10)
assert.Error(t, err)
assert.Contains(t, err.Error(), "connect: connection refused")
assert.True(t, strings.Contains(err.Error(), "connect: connection refused") || strings.Contains(err.Error(), "connectex: No connection could be made"))
}

func TestUpdateEnv(t *testing.T) {
Expand Down

0 comments on commit e600916

Please sign in to comment.