Skip to content

Commit

Permalink
fix: write some data
Browse files Browse the repository at this point in the history
  • Loading branch information
vlastahajek committed Oct 1, 2024
1 parent 1fc3dda commit e115711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion influxdb3/write_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ func TestHttpErrorWithHeaders(t *testing.T) {
Database: "my-database",
})
require.NoError(t, err)
err = tc.WriteData(context.Background(), []any{})
err = tc.Write(context.Background(), []byte("data"))
require.Error(t, err)
var serr *ServerError
require.ErrorAs(t, err, &serr)
Expand Down

0 comments on commit e115711

Please sign in to comment.