From be12cc27f1d774154b17763c071e1dc6f91eab8c Mon Sep 17 00:00:00 2001 From: xuri Date: Mon, 10 May 2021 00:09:24 +0800 Subject: This closes #652, new SetColWidth API, support set column width in stream writing mode, and export error message --- date_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'date_test.go') diff --git a/date_test.go b/date_test.go index 79462c5..ecc96ba 100644 --- a/date_test.go +++ b/date_test.go @@ -55,7 +55,7 @@ func TestTimeToExcelTime_Timezone(t *testing.T) { for i, test := range trueExpectedDateList { t.Run(fmt.Sprintf("TestData%d", i+1), func(t *testing.T) { _, err := timeToExcelTime(test.GoValue.In(location)) - assert.EqualError(t, err, "only UTC time expected") + assert.EqualError(t, err, ErrToExcelTime.Error()) }) } } -- cgit v1.2.1