From 7fc84f6abaac95b4c67a8fed500e5971106609d8 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Mon, 2 Nov 2026 20:49:31 -1000 Subject: Name a missing Lua module in the error log --- tests/t0502-syntax-highlight.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/t0502-syntax-highlight.sh') diff --git a/tests/t0502-syntax-highlight.sh b/tests/t0502-syntax-highlight.sh index 2ca3c9f..dbb7bb0 100755 --- a/tests/t0502-syntax-highlight.sh +++ b/tests/t0502-syntax-highlight.sh @@ -68,9 +68,10 @@ test_expect_success CGIT_LUA 'bytes between tokens reach the page escaped' ' # has to hand the source back escaped instead. test_expect_success CGIT_LUA 'without scintillua the source is served escaped' ' CGIT_SCINTILLUA_PATH=/nonexistent CGIT_CONFIG="$PWD/cgitrc" \ - QUERY_STRING="url=fake/tree/hello.fake" cgit >tmp && + QUERY_STRING="url=fake/tree/hello.fake" cgit >tmp 2>err && grep "if 42 & zz" tmp && - ! grep "hl-keyword" tmp + ! grep "hl-keyword" tmp && + grep "Unable to load the Scintillua lexers" err ' test_expect_success CGIT_LUA 'a lone carriage return reaches the page as an escape' ' -- cgit 2.12.1