diff options
Diffstat (limited to 'styles_test.go')
-rw-r--r-- | styles_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/styles_test.go b/styles_test.go index 96cc2ad..257f98d 100644 --- a/styles_test.go +++ b/styles_test.go @@ -199,7 +199,7 @@ func TestGetConditionalFormats(t *testing.T) { // Test get conditional formats on no exists worksheet f := NewFile() _, err := f.GetConditionalFormats("SheetN") - assert.EqualError(t, err, "sheet SheetN is not exist") + assert.EqualError(t, err, "sheet SheetN does not exist") } func TestUnsetConditionalFormat(t *testing.T) { @@ -211,7 +211,7 @@ func TestUnsetConditionalFormat(t *testing.T) { assert.NoError(t, f.SetConditionalFormat("Sheet1", "A1:A10", fmt.Sprintf(`[{"type":"cell","criteria":">","format":%d,"value":"6"}]`, format))) assert.NoError(t, f.UnsetConditionalFormat("Sheet1", "A1:A10")) // Test unset conditional format on not exists worksheet. - assert.EqualError(t, f.UnsetConditionalFormat("SheetN", "A1:A10"), "sheet SheetN is not exist") + assert.EqualError(t, f.UnsetConditionalFormat("SheetN", "A1:A10"), "sheet SheetN does not exist") // Save spreadsheet by the given path. assert.NoError(t, f.SaveAs(filepath.Join("test", "TestUnsetConditionalFormat.xlsx"))) } @@ -341,7 +341,7 @@ func TestThemeReader(t *testing.T) { func TestSetCellStyle(t *testing.T) { f := NewFile() // Test set cell style on not exists worksheet. - assert.EqualError(t, f.SetCellStyle("SheetN", "A1", "A2", 1), "sheet SheetN is not exist") + assert.EqualError(t, f.SetCellStyle("SheetN", "A1", "A2", 1), "sheet SheetN does not exist") } func TestGetStyleID(t *testing.T) { |