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 --- lib_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib_test.go') diff --git a/lib_test.go b/lib_test.go index 35dd2a0..3346acc 100644 --- a/lib_test.go +++ b/lib_test.go @@ -184,7 +184,7 @@ func TestCellNameToCoordinates_Error(t *testing.T) { } } _, _, err := CellNameToCoordinates("A1048577") - assert.EqualError(t, err, "row number exceeds maximum limit") + assert.EqualError(t, err, ErrMaxRows.Error()) } func TestCoordinatesToCellName_OK(t *testing.T) { -- cgit v1.2.1