From 143ba6aae24c25b4905f2378bfdf8be53c45b6ab Mon Sep 17 00:00:00 2001 From: nxshock Date: Fri, 9 Feb 2024 09:49:22 +0500 Subject: [PATCH] Use money type in tests --- readercsv_test.go | 2 +- readerdbf_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/readercsv_test.go b/readercsv_test.go index f2f6607..649d73e 100644 --- a/readercsv_test.go +++ b/readercsv_test.go @@ -17,7 +17,7 @@ func TestCsvReaderBasic(t *testing.T) { encoding: "win1251", comma: rune(";"[0]), skipRows: 3, - fieldsTypes: "s ttffsssss", + fieldsTypes: "s ttmmsssss", dateFormat: "02.01.2006", timestampFormat: "02.01.2006 15:04:05", timezone: time.Local} diff --git a/readerdbf_test.go b/readerdbf_test.go index 18753c8..2c55940 100644 --- a/readerdbf_test.go +++ b/readerdbf_test.go @@ -14,7 +14,7 @@ func TestDbfReaderBasic(t *testing.T) { assert.NoError(t, err) options := &Options{ - fieldsTypes: "sssssstdffsss", + fieldsTypes: "sssssstdmmsss", timezone: time.Local, encoding: "cp866"}