AgeCommit message (Collapse)AuthorLines
Cover the rest of syntax-highlight's outputBryce Kwon-4/+7
No token ever took hl-type or hl-comment, so a typo in either row, or a rule gone from the stylesheet, passed. Nothing fed the filter a NUL byte or a blob of exactly the size cap either.
Check the lexer modules the filter cannot useBryce Kwon-3/+11
A module called lexer that is not Scintillua, a Scintillua older than 6.0 without detect(), lexers that cannot load lpeg and a lexer that returns no token list were all documented and none was tried.
Find a capitalised extension's lexer againBryce Kwon-5/+8
Scintillua's detect() matches an extension by its case, and the fallback e227d1f dropped had lowercased it, so MAIN.C and SETUP.PY lost their colour. The fake lexer now answers only for the suffixes it knows, as Scintillua does, which is what lets the check see it.
Drop the highlighter's extension fallbackBryce Kwon-9/+5
The table of extensions and the second lookup served only a Scintillua with no detect(), which now leaves every file uncoloured but escaped. The fake detect() names a lexer after the file's suffix, so every test lexer is reached through it.
Colour css properties and pseudo-classesBryce Kwon-16/+17
Scintillua's css lexer tags them with names the map had no row for, so they came out as plain text.
Find a script's lexer from its shebang lineBryce Kwon-4/+7
Scintillua's detect reads the first line as well as the name, and without it hooks, bin scripts and anything else lacking an extension stayed plain.
Add a test suite for the shipped extensionsBryce Kwon-0/+77