diff --git a/client/influxdb_test.go b/client/influxdb_test.go index 235521c12c..8cb413df6a 100644 --- a/client/influxdb_test.go +++ b/client/influxdb_test.go @@ -113,10 +113,13 @@ func TestClient_Write(t *testing.T) { } bp := client.BatchPoints{} - _, err = c.Write(bp) + r, err := c.Write(bp) if err != nil { t.Fatalf("unexpected error. expected %v, actual %v", nil, err) } + if r != nil { + t.Fatalf("unexpected response. expected %v, actual %v", nil, r) + } } func TestClient_UserAgent(t *testing.T) {