On Dec 13, 10:22 am, "Edward K. Ream" <[email protected]> wrote: > On Mon, Dec 12, 2011 at 11:27 AM, PMario <[email protected]> wrote: > > File "/path/to/leo/core/leoImport.py", line 2070, in reportMismatch > > line = repr(lines2[i]) > > IndexError: list index out of range > > I'll put this crash on the list to fix immediately.
Fixed on the trunk at rev 4873. All uni tests pass, including an updated existing unit test. Now *this* is the way unit testing is supposed to work. It was easy to find the existing unit test, modify it slightly so it failed initially. I then made a trivial change to the source code and verified the change worked by running the updated unit test externally without having to reload unitTest.leo. It took about a minute. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
