summaryrefslogtreecommitdiff
path: root/date_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'date_test.go')
-rw-r--r--date_test.go2
1 files changed, 1 insertions, 1 deletions
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())
})
}
}