Bug 365819 - [textmatestyler] Fix textMateStyler tests
Summary: [textmatestyler] Fix textMateStyler tests
Status: RESOLVED FIXED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: Client (show other bugs)
Version: 0.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.5 M1   Edit
Assignee: Mark Macdonald CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks:
 
Reported: 2011-12-06 18:31 EST by Mark Macdonald CLA
Modified: 2012-02-29 16:49 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Macdonald CLA 2011-12-06 18:31:58 EST
A bunch of the unit tests are failing. I believe this is due to performance work done recently in the TextView which breaks the test assumptions.

For example, a grammar that assigned the same style class to the last 2 characters in a line of text like
> foo

formerly yielded 2 style regions:
> f[o][o]

but the current code seems to combine them into one larger region:
> f[oo]

Need to make sure this is indeed working as intended, and update the tests if so.