diff options
| author | Lukas Fleischer <[email protected]> | 2014-01-15 22:11:19 +0000 |
|---|---|---|
| committer | Jason A. Donenfeld <[email protected]> | 2014-01-15 23:53:18 +0000 |
| commit | 3741254a6989b2837cd8d20480f152f0096bcb9a (patch) | |
| tree | 5997134d4aaff3ccade061c8cce6de85cbf3ed88 /tests/filters/capitalize-buffer.lua | |
| parent | parsing.c: Remove leading space from committer (diff) | |
| download | cgit-3741254a6989b2837cd8d20480f152f0096bcb9a.tar.gz cgit-3741254a6989b2837cd8d20480f152f0096bcb9a.zip | |
t0111: Additions and fixes
* Rename the capitalize-* filters to dump.* since they also dump the
arguments.
* Add full argument validation to the email filters.
Signed-off-by: Lukas Fleischer <[email protected]>
Diffstat (limited to 'tests/filters/capitalize-buffer.lua')
| -rw-r--r-- | tests/filters/capitalize-buffer.lua | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/filters/capitalize-buffer.lua b/tests/filters/capitalize-buffer.lua deleted file mode 100644 index 1f15c93..0000000 --- a/tests/filters/capitalize-buffer.lua +++ /dev/null @@ -1,17 +0,0 @@ -function filter_open(...) - buffer = "" - for i = 1, select("#", ...) do - buffer = buffer .. select(i, ...) .. " " - end -end - -function filter_close() - html(buffer) - return 0 -end - -function filter_write(str) - buffer = buffer .. string.upper(str) -end - - |
