Skip to content

Commit 1b27aa7

Browse files
authored
Merge pull request #1 from fastbill/hotfix/unit-test
fix unit test for Go 1.11.11
2 parents f9a6e5d + e23d25a commit 1b27aa7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ script:
1414
- gometalinter.v2 --vendor --deadline=300s ./...
1515

1616
notifications:
17-
email: false
17+
email: false

request_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ func TestDoOtherErrors(t *testing.T) {
267267
})
268268

269269
t.Run("request cannot be sent", func(t *testing.T) {
270-
params := Params{URL: "\n"}
270+
params := Params{URL: "http://"}
271271
err := Do(params, nil)
272272
if assert.Error(t, err) {
273273
assert.Contains(t, err.Error(), "failed to send request")

0 commit comments

Comments
 (0)