diff options
author | xuri <xuri.me@gmail.com> | 2022-03-24 00:19:30 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2022-03-24 00:19:30 +0800 |
commit | 8a335225c705232fe1174755a1b1ea475456b864 (patch) | |
tree | 7bae0af1f1ce3459ad429d4fbca60a5e9b35a0e1 /styles_test.go | |
parent | 139ee4c4b0c86dffbdca77da346e85a4cbd97b0c (diff) |
Format code, update documentation and remove exported variable `XMLHeaderByte`
Diffstat (limited to 'styles_test.go')
-rw-r--r-- | styles_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/styles_test.go b/styles_test.go index de3444f..a71041d 100644 --- a/styles_test.go +++ b/styles_test.go @@ -212,10 +212,10 @@ func TestNewStyle(t *testing.T) { assert.EqualError(t, err, ErrFontSize.Error()) // new numeric custom style - fmt := "####;####" + numFmt := "####;####" f.Styles.NumFmts = nil styleID, err = f.NewStyle(&Style{ - CustomNumFmt: &fmt, + CustomNumFmt: &numFmt, }) assert.NoError(t, err) assert.Equal(t, 2, styleID) |