Closed
Description
In commit 956bc77 I had to disable one of the rope tests. The purpose of that commit was to fix up a bug in the way operator [] works on strings. In particular it used to let you index up to and including the trailing null; now it considers access to the null byte an index overrun and fails.
I tried to figure out exactly what was going on in the rope code for quite a while, and tried adjusting a number of obvious-looking things, but to no avail. I'm not really good with boundary-case arithmetic (are any of us?) and the rope module is a maze of such arithmetic.
Sharper minds requested to find the bug. Meanwhile I marked the rope test in question (char_at1
) as ignored. The others seem to work.
Metadata
Metadata
Assignees
Labels
No labels