This website requires JavaScript.
Explore
Help
Sign In
Aire-One
/
awesome
Watch
1
Star
0
Fork
You've already forked awesome
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
af59d52ddf
awesome
/
tests
/
examples
/
text
/
template.lua
6 lines
98 B
Lua
Raw
Normal View
History
Unescape
Escape
tests/examples: Move common template code into a common file (#993) Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-07-09 19:03:49 +02:00
local
file_path
=
...
require
(
"
_common_template
"
)
(
...
)
Silence warnings in examples (#944) There was a problem that the examples were considered to have failed as soon as they produced any kind of output, but there were legitimate cases of warnings being printed that triggered these checks. Commit 4819be4f4f3037ef3f used a regular expression to detect and ignore this warnings. This commit reverts the above commit and instead silences the warnings by monkey-patching the function that prints the warnings into a no-op. Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-06-07 22:57:01 +02:00
doc: Add a generic template for text only tests
2016-05-17 06:58:33 +02:00
-- Execute the test
loadfile
(
file_path
)
(
)