summaryrefslogtreecommitdiff
path: root/styles_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'styles_test.go')
-rw-r--r--styles_test.go2
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")
}