From 6fc7fc0a873c04245a7a099f0cf766f04787de3b Mon Sep 17 00:00:00 2001 From: "Nickolay.NP" Date: Fri, 20 Oct 2023 22:12:16 +0300 Subject: [PATCH] v.0.26 --- datarecord/datarecord_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/datarecord/datarecord_test.go b/datarecord/datarecord_test.go index 4b4c2b0..b04bd47 100644 --- a/datarecord/datarecord_test.go +++ b/datarecord/datarecord_test.go @@ -122,6 +122,7 @@ func Test_dataReader_ReadDataRecord(t *testing.T) { dateColumn: 1, dateFormat: "20060102150405", pivotColumn: 0, + delimiter: []byte{' '}, points: 3, data: dataReaderData{time.Date(2012, time.October, 15, 10, 1, 30, 0, time.Local): {"": []float32{1, 2, 3}}}, @@ -137,6 +138,7 @@ func Test_dataReader_ReadDataRecord(t *testing.T) { got.dateColumn = tt.want.dateColumn got.dateFormat = tt.want.dateFormat got.pivotColumn = tt.want.pivotColumn + got.delimiter = tt.want.delimiter got.ReadDataRecord(tt.data) if diff := deep.Equal(got, tt.want); diff != nil {