You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go test -v github.com/xuri/excelize/v2 | grep -E "FAIL|error"
--- FAIL: TestSetCellValuesMultiByte (0.02s)
Error: Received unexpected error:
--- FAIL: TestRows (0.02s)
--- FAIL: TestStreamWriter (29.37s)
--- FAIL: TestStreamSetRowNilValues (0.00s)
panic: runtime error: index out of range [0] with length 0 [recovered]
panic: runtime error: index out of range [0] with length 0
FAIL github.com/xuri/excelize/v2 78.310s
FAIL
Describe the results you expected
go test -v github.com/xuri/excelize/v2 There should be no errors and output OK
PASS
ok github.com/xuri/excelize/v2 100.218s
Go version
1.24.0
Excelize version or commit ID
2.9.0
Environment
uname -a
Linux 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
centos 7.9
Validations
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
The provided reproduction is a minimal reproducible example of the bug.
The text was updated successfully, but these errors were encountered:
Thanks for your issue. I updated GitHub action configuration for testing with Go 1.24.x under Ubuntu 24.04, all unit tests passed. The library is compatible with lasted Go language, if have any question, please let me know and reopen this anytime.
Description
Executing go test -v github.com/xuri/excelize/v2 passes normally on go1.23.3 and fails with go1.24 with the following output:
Steps to reproduce the issue
1.Install go1.24 sdk
2.go test -v github.com/xuri/excelize/v2 | grep -E "FAIL|error"
Describe the results you received
go test -v github.com/xuri/excelize/v2 | grep -E "FAIL|error"
--- FAIL: TestSetCellValuesMultiByte (0.02s)
Error: Received unexpected error:
--- FAIL: TestRows (0.02s)
--- FAIL: TestStreamWriter (29.37s)
--- FAIL: TestStreamSetRowNilValues (0.00s)
panic: runtime error: index out of range [0] with length 0 [recovered]
panic: runtime error: index out of range [0] with length 0
FAIL github.com/xuri/excelize/v2 78.310s
FAIL
Describe the results you expected
go test -v github.com/xuri/excelize/v2 There should be no errors and output OK
PASS
ok github.com/xuri/excelize/v2 100.218s
Go version
1.24.0
Excelize version or commit ID
2.9.0
Environment
uname -a Linux 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux centos 7.9
Validations
The text was updated successfully, but these errors were encountered: