diff options
author | xuri <xuri.me@gmail.com> | 2019-12-23 00:07:40 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2019-12-23 00:07:40 +0800 |
commit | 4e4a5b9b3e052d1694442515492792fb1aa74c5a (patch) | |
tree | ebb0746cc3a26e50ed921f6f25cb295be6c3c417 /styles_test.go | |
parent | ae2865d9237cfd27d7bc4fbef3870b3361597be8 (diff) |
Improve compatibility, fix workbook's rels ID calc error
Diffstat (limited to 'styles_test.go')
-rw-r--r-- | styles_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/styles_test.go b/styles_test.go index 36a78ed..e6faccb 100644 --- a/styles_test.go +++ b/styles_test.go @@ -175,7 +175,7 @@ func TestNewStyle(t *testing.T) { styles := f.stylesReader() fontID := styles.CellXfs.Xf[styleID].FontID font := styles.Fonts.Font[fontID] - assert.Contains(t, font.Name.Val, "Times New Roman", "Stored font should contain font name") + assert.Contains(t, *font.Name.Val, "Times New Roman", "Stored font should contain font name") assert.Equal(t, 2, styles.CellXfs.Count, "Should have 2 styles") } |