Skip to content

Commit 06c5ebc

Browse files
committed
chore(golang): update tests to work with go 1.14
1 parent 6a3e5e7 commit 06c5ebc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/body_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func TestDatasetBodyFile(t *testing.T) {
5959
{&dataset.Dataset{Structure: &dataset.Structure{Format: "csv"}, BodyBytes: []byte("a,b,c\n1,2,3")}, "body.csv", 11, ""},
6060

6161
// urlz
62-
{&dataset.Dataset{BodyPath: "http://"}, "", 0, "fetching body url: Get http:: http: no Host in request URL"},
62+
{&dataset.Dataset{BodyPath: "http://"}, "", 0, "fetching body url: Get \"http:\": http: no Host in request URL"},
6363
{&dataset.Dataset{BodyPath: fmt.Sprintf("%s/foobar.json", badS.URL)}, "", 0, "invalid status code fetching body url: 500"},
6464
{&dataset.Dataset{BodyPath: fmt.Sprintf("%s/foobar.json", s.URL)}, "foobar.json", 15, ""},
6565

0 commit comments

Comments
 (0)