This is the mail archive of the
mailing list for the Mauve project.
Re: Am I doing something wrong?
On Wed, 2008-06-25 at 01:51 +0100, Andrew John Hughes wrote:
> > ---> sb.setLength(sb.length() - fullPath.length() - 1);
> > So that calculation is going negative, and inserting println's I see
> > sb.length() is 0 ...
> > I changed that to something like this
> > sb.setLength(
> > (sb.length() - fullPath.length() - 1) > 0
> > ? sb.length() - fullPath.length() - 1
> > : 0
> > );
> > And then this failed (line 1208)
> > nextTest = nextTest.substring(0, nextTest.length() - 5);
Actually I changed this code very much.
> I believe twisti has done a lot of recent work on the harness, but I
> don't think it's committed yet.
And today is a good day to finally commit it :-)