travis-ci updates

pull/443/head
Hunter Long 2020-03-18 19:57:59 -07:00
parent 7765075c27
commit cbabd2f8fa
1 changed files with 18 additions and 18 deletions

View File

@ -181,7 +181,7 @@ func TestHttpRequest(t *testing.T) {
// Close the server when test finishes // Close the server when test finishes
defer server.Close() defer server.Close()
body, resp, err := HttpRequest(server.URL, "GET", "application/json", []string{"aaa=bbbb=", "ccc=ddd"}, nil, 2*time.Second) body, resp, err := HttpRequest(server.URL, "GET", "application/json", []string{"aaa=bbbb=", "ccc=ddd"}, nil, 2*time.Second, false)
assert.Nil(t, err) assert.Nil(t, err)
assert.Equal(t, []byte("OK"), body) assert.Equal(t, []byte("OK"), body)