summaryrefslogtreecommitdiff
path: root/styles_test.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2021-11-16 00:40:44 +0800
committerxuri <xuri.me@gmail.com>2021-11-16 00:40:44 +0800
commitbda8e7f8129dae0064c47f8e051f76492e1128f5 (patch)
treef920fccbda3059acdf0c0cb66ebb875161a32576 /styles_test.go
parent72410361b07e7539037252467a38a73b32986dce (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 'styles_test.go')
-rw-r--r--styles_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/styles_test.go b/styles_test.go
index a214aaa..9129914 100644
--- a/styles_test.go
+++ b/styles_test.go
@@ -262,10 +262,10 @@ func TestGetDefaultFont(t *testing.T) {
func TestSetDefaultFont(t *testing.T) {
f := NewFile()
- f.SetDefaultFont("Ariel")
+ f.SetDefaultFont("Arial")
styles := f.stylesReader()
s := f.GetDefaultFont()
- assert.Equal(t, s, "Ariel", "Default font should change to Ariel")
+ assert.Equal(t, s, "Arial", "Default font should change to Arial")
assert.Equal(t, *styles.CellStyles.CellStyle[0].CustomBuiltIn, true)
}