From 44a13aa402b0189b119635d2f0a26961795c6bda Mon Sep 17 00:00:00 2001 From: xuri Date: Tue, 7 Dec 2021 00:26:53 +0800 Subject: Export 7 errors so users can act differently on different type of errors --- shape_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shape_test.go') 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. -- cgit v1.2.1