diff options
author | sceneq <sceneq@users.noreply.github.com> | 2022-05-16 22:05:22 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-16 21:05:22 +0800 |
commit | be5a4033c0c7de6247c02dc3ab76b634ac19d4c6 (patch) | |
tree | d4958490277d9f2ebea71547cb19a411b592c4e8 /excelize_test.go | |
parent | 19a0cf3cec71fc49851d29fb420674b027f50d93 (diff) |
This closes #1229, rename ErrMaxFileNameLength to ErrMaxFilePathLength (#1230)
Co-authored-by: sceneq
Diffstat (limited to 'excelize_test.go')
-rw-r--r-- | excelize_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/excelize_test.go b/excelize_test.go index 389573e..27badc6 100644 --- a/excelize_test.go +++ b/excelize_test.go @@ -170,7 +170,7 @@ func TestOpenFile(t *testing.T) { assert.NoError(t, f.SetCellStr("Sheet2", "c"+strconv.Itoa(i), strconv.Itoa(i))) } assert.NoError(t, f.SaveAs(filepath.Join("test", "TestOpenFile.xlsx"))) - assert.EqualError(t, f.SaveAs(filepath.Join("test", strings.Repeat("c", 199), ".xlsx")), ErrMaxFileNameLength.Error()) + assert.EqualError(t, f.SaveAs(filepath.Join("test", strings.Repeat("c", 199), ".xlsx")), ErrMaxFilePathLength.Error()) assert.NoError(t, f.Close()) } |