diff options
Diffstat (limited to 'tests/filters')
| -rw-r--r-- | tests/filters/dump.lua | 5 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1 file changed, 5 insertions, 0 deletions
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 |
