Skip to content

Commit

Permalink
v.0.26
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolainp committed Oct 20, 2023
1 parent 71ee682 commit 6fc7fc0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions datarecord/datarecord_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}}},
Expand All @@ -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 {
Expand Down

0 comments on commit 6fc7fc0

Please sign in to comment.