From 8c5ed18bad573d7577aebd228f652d9882afb536 Mon Sep 17 00:00:00 2001 From: Jakub Bednar Date: Thu, 2 Nov 2023 12:59:50 +0100 Subject: [PATCH] chore: add field values --- influxdb3/point_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/influxdb3/point_test.go b/influxdb3/point_test.go index a56bb87..1f7e146 100644 --- a/influxdb3/point_test.go +++ b/influxdb3/point_test.go @@ -190,4 +190,6 @@ func TestPoint_SetTimestamp(t *testing.T) { p := NewPoint("test", nil, nil, time.Unix(60, 70)) p.SetTimestamp(time.Unix(60, 80)) assert.Equal(t, time.Unix(60, 80), p.Values.Timestamp) + p.SetTimestampWithEpoch(99) + assert.Equal(t, time.Unix(0, 99), p.Values.Timestamp) }