Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Check the log line for lexers that are not found
Every check set CGIT_SCINTILLUA_PATH, which the filter takes as given, so the line for a server with no Scintillua at all never ran and deleting it passed. The harness can now clear a variable and hide the directories the filter probes. A lexer.lua anywhere on LUA_PATH also loaded in place of the missing one, so the fallback runs now keep every Lua module out of reach.
Diffstat (limited to 'tests/extensions')
-rw-r--r--tests/extensions/harness.lua19
-rw-r--r--tests/extensions/test-syntax-highlight.lua29
2 files changed, 43 insertions, 5 deletions