From 0c4f9c75e7c33baba9f951cdec7dcdaf2f2eef7e Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 25 Jul 2026 08:02:26 -1000 Subject: Bound syntax-highlight memory and widen coverage --- tests/filters/dump.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/filters/dump.lua') diff --git a/tests/filters/dump.lua b/tests/filters/dump.lua index 1f15c93..ef7f3bf 100644 --- a/tests/filters/dump.lua +++ b/tests/filters/dump.lua @@ -1,3 +1,8 @@ +-- Test fixture for the cgit Lua filter API, exercised by tests/t0111-filter.sh. +-- It echoes the filter_open arguments and upper-cases the body, which lets the +-- test confirm that arguments and content flow through the lua: filter path. It +-- is not a production filter. Runs on Lua 5.1 through 5.4 and LuaJIT. + function filter_open(...) buffer = "" for i = 1, select("#", ...) do -- cgit v2.8.0