projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
beb2229
)
luacheckrc: make test helpers read-only globals, add testlib_new_env and runtest
author
Anton Shestakov
<av6@dwimlabs.net>
Sat, 9 Jul 2016 02:08:35 +0000
(10:08 +0800)
committer
Anton Shestakov
<av6@dwimlabs.net>
Sat, 9 Jul 2016 02:08:35 +0000
(10:08 +0800)
.luacheckrc
patch
|
blob
|
history
diff --git
a/.luacheckrc
b/.luacheckrc
index 2fc05e7527ef1643f106d315b7a3ffc13e2d3275..0da4a0e7f7f57cca05d6db2a70fcd6d5bd7b3f07 100644
(file)
--- a/
.luacheckrc
+++ b/
.luacheckrc
@@
-11,13
+11,15
@@
files["plugins/"] = {
ignore = { "122/module" };
}
files["tests/"] = {
- ignore = {
- "113/assert_equal",
- "113/assert_table",
- "113/assert_function",
- "113/assert_string",
- "113/assert_boolean",
- "113/assert_is",
- "113/assert_is_not",
+ read_globals = {
+ "testlib_new_env",
+ "assert_equal",
+ "assert_table",
+ "assert_function",
+ "assert_string",
+ "assert_boolean",
+ "assert_is",
+ "assert_is_not",
+ "runtest",
};
}