diff options
author | xuri <xuri.me@gmail.com> | 2021-11-16 00:40:44 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2021-11-16 00:40:44 +0800 |
commit | bda8e7f8129dae0064c47f8e051f76492e1128f5 (patch) | |
tree | f920fccbda3059acdf0c0cb66ebb875161a32576 /datavalidation_test.go | |
parent | 72410361b07e7539037252467a38a73b32986dce (diff) |
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
Diffstat (limited to 'datavalidation_test.go')
-rw-r--r-- | datavalidation_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
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`}, } { |