-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Description
Hi,
I've just updated the charmbracelet/x library for Debian, and there are five tests failing on the s390x architecture, see the output below:
--- FAIL: TestTerminal (0.03s)
--- FAIL: TestTerminal/DCH_Split_Wide_Character (0.00s)
emulator_test.go:1802: line 1 doesn't match:
want: "A 123 "
got: "A13 "
--- FAIL: TestTerminal/ECH_Multi-cell_Character (0.00s)
emulator_test.go:1802: line 1 doesn't match:
want: "X BC "
got: "XC "
--- FAIL: TestTerminal/EL_Erase_Right_Multi-cell_Character (0.00s)
emulator_test.go:1802: line 1 doesn't match:
want: "AB "
got: "ABD "
--- FAIL: TestTerminal/EL_Erase_Left_Multi-cell_Character (0.00s)
emulator_test.go:1802: line 1 doesn't match:
want: " DE "
got: " E "
--- FAIL: TestTerminal/ED_Erase_Below_with_Multi-Cell_Character (0.00s)
emulator_test.go:1802: line 1 doesn't match:
want: "AB橋C "
got: "ABC "
It looks like all failures are related to wide unicode characters. I suspect it might have to do with the big endian architecture of s390x. However, I didn't have time to further dive into this. Maybe you already have an idea what the cause of those failures might be. If you need to test your fix on s390x, please reach out to me, I can run the tests again on that architecture.
Regards,
Tobias
Version
No response
Environment
No response
Metadata
Metadata
Assignees
Labels
No labels