diff options
author | xuri <xuri.me@gmail.com> | 2021-12-07 00:26:53 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2021-12-07 00:26:53 +0800 |
commit | 44a13aa402b0189b119635d2f0a26961795c6bda (patch) | |
tree | 0000ed94fe92507517281812ba49d85aa58a7211 /shape_test.go | |
parent | 3325c3946d0ab77083555bab334381a1167ee580 (diff) |
Export 7 errors so users can act differently on different type of errors
Diffstat (limited to 'shape_test.go')
-rw-r--r-- | shape_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shape_test.go b/shape_test.go index a02e53d..2f00589 100644 --- a/shape_test.go +++ b/shape_test.go @@ -56,7 +56,7 @@ func TestAddShape(t *testing.T) { "color": "2980B9" } }] - }`), `cannot convert cell "A" to coordinates: invalid cell name "A"`) + }`), newCellNameToCoordinatesError("A", newInvalidCellNameError("A")).Error()) assert.NoError(t, f.SaveAs(filepath.Join("test", "TestAddShape1.xlsx"))) // Test add first shape for given sheet. |