From 48c16de8bf74df0fa94a30d29e2e7e3446d48433 Mon Sep 17 00:00:00 2001 From: xuri Date: Sun, 15 Aug 2021 00:06:40 +0800 Subject: Improve security and simplify code - Make variable name more semantic - Reduce cyclomatic complexities for the formula calculate function - Support specified unzip size limit on open file options, avoid zip bombs vulnerability attack - Typo fix for documentation and error message --- errors_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'errors_test.go') diff --git a/errors_test.go b/errors_test.go index 207e80a..971802f 100644 --- a/errors_test.go +++ b/errors_test.go @@ -21,5 +21,5 @@ func TestNewInvalidCellNameError(t *testing.T) { } func TestNewInvalidExcelDateError(t *testing.T) { - assert.EqualError(t, newInvalidExcelDateError(-1), "invalid date value -1.000000, negative values are not supported supported") + assert.EqualError(t, newInvalidExcelDateError(-1), "invalid date value -1.000000, negative values are not supported") } -- cgit v1.2.1