Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
bednar committed Nov 5, 2024
1 parent 69015e5 commit 7234f3f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions influxdb3/client_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func TestWriteAndQueryExample(t *testing.T) {
assert.Equal(t, uint64(800), value["uindex"])
assert.Equal(t, true, value["valid"])
assert.Equal(t, "a1", value["text"])
assert.Equal(t, now, value["time"].time.Time)
assert.Equal(t, now, value["time"])

// row #2

Expand All @@ -145,7 +145,7 @@ func TestWriteAndQueryExample(t *testing.T) {
assert.Equal(t, uint64(150), value["uindex"])
assert.Equal(t, false, value["valid"])
assert.Equal(t, "b1", value["text"])
assert.Equal(t, now.Add(1*time.Second), value["time"].time.Time)
assert.Equal(t, now.Add(1*time.Second), value["time"])

assert.False(t, iterator.Done())

Expand Down Expand Up @@ -227,7 +227,7 @@ func TestQueryWithParameters(t *testing.T) {
assert.Equal(t, uint64(800), value["uindex"])
assert.Equal(t, true, value["valid"])
assert.Equal(t, "a1", value["text"])
assert.Equal(t, now, value["time"].time.Time)
assert.Equal(t, now, value["time"])

assert.False(t, iterator.Done())
assert.False(t, iterator.Next())
Expand Down

0 comments on commit 7234f3f

Please sign in to comment.