forked from AuroraMiddleware/gtk
f37573f8dc
Instead of just checking that the line of the error message is correct, assert that start and end position are on the correct character offset. Also fix all the tests to conform to this.
8 lines
451 B
CSS
8 lines
451 B
CSS
a { color:green }
|
|
b { color:green; color } /* malformed declaration missing ':', value */
|
|
c { color:red; color; color:green } /* same with expected recovery */
|
|
d { color:green; color: } /* malformed declaration missing value */
|
|
e { color:red; color:; color:green } /* same with expected recovery */
|
|
f { color:green; color{;color:maroon} } /* unexpected tokens { } */
|
|
g { color:red; color{;color:maroon}; color:green } /* same with recovery */
|