diff options
author | xuri <xuri.me@gmail.com> | 2022-01-09 00:20:42 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2022-01-09 00:20:42 +0800 |
commit | 2245fccca0beb25a1bf309a1c9cbd273512f125a (patch) | |
tree | 737ced5abd6cf452662268cf1ae2b76edf8ed03c /cell_test.go | |
parent | af5c4d00e81b62a3f6ff6cb34a89502400552a2d (diff) |
Typo fix, rename exported constants, dependencies modules and copyright update
Rename exported constants `NameSpaceDublinCoreMetadataIntiative` to `NameSpaceDublinCoreMetadataInitiative`
Diffstat (limited to 'cell_test.go')
-rw-r--r-- | cell_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cell_test.go b/cell_test.go index 03de73b..cddd2f9 100644 --- a/cell_test.go +++ b/cell_test.go @@ -653,14 +653,14 @@ func TestFormattedValue2(t *testing.T) { func TestSharedStringsError(t *testing.T) { f, err := OpenFile(filepath.Join("test", "Book1.xlsx"), Options{UnzipXMLSizeLimit: 128}) assert.NoError(t, err) - f.tempFiles.Store(dafaultXMLPathSharedStrings, "") + f.tempFiles.Store(defaultXMLPathSharedStrings, "") assert.Equal(t, "1", f.getFromStringItemMap(1)) // Test reload the file error on set cell cell and rich text. The error message was different between macOS and Windows. err = f.SetCellValue("Sheet1", "A19", "A19") assert.Error(t, err) - f.tempFiles.Store(dafaultXMLPathSharedStrings, "") + f.tempFiles.Store(defaultXMLPathSharedStrings, "") err = f.SetCellRichText("Sheet1", "A19", []RichTextRun{}) assert.Error(t, err) |