From bda8e7f8129dae0064c47f8e051f76492e1128f5 Mon Sep 17 00:00:00 2001 From: xuri Date: Tue, 16 Nov 2021 00:40:44 +0800 Subject: This closes #1061, support multi-byte language on set header footer typo fixed and simplify code for read the data values arguments of formula functions --- datavalidation_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'datavalidation_test.go') diff --git a/datavalidation_test.go b/datavalidation_test.go index 5986375..c35693c 100644 --- a/datavalidation_test.go +++ b/datavalidation_test.go @@ -54,8 +54,8 @@ func TestDataValidation(t *testing.T) { dvRange.Sqref = "A5:B6" for _, listValid := range [][]string{ {"1", "2", "3"}, - {strings.Repeat("&", 255)}, - {strings.Repeat("\u4E00", 255)}, + {strings.Repeat("&", MaxFieldLength)}, + {strings.Repeat("\u4E00", MaxFieldLength)}, {strings.Repeat("\U0001F600", 100), strings.Repeat("\u4E01", 50), "<&>"}, {`A<`, `B>`, `C"`, "D\t", `E'`, `F`}, } { -- cgit v1.2.1