aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2017-09-16 10:13:39 +0100
committerMatthew Wild <mwild1@gmail.com>2017-09-16 10:13:39 +0100
commit439471ac36c67bfd02025b381b5152418d8387b0 (patch)
tree8c0c4c41515ca7512ba5f3ae88af2b5a9d0f1b84
parentfad428a8e7e85aa23b499c5c1e168e256c2e7226 (diff)
downloadprosody-439471ac36c67bfd02025b381b5152418d8387b0.tar.gz
prosody-439471ac36c67bfd02025b381b5152418d8387b0.zip
.luacheckrc: Add busted globals for spec/* (thanks av6!)
-rw-r--r--.luacheckrc14
1 files changed, 2 insertions, 12 deletions
diff --git a/.luacheckrc b/.luacheckrc
index 91face3f..fcf2f000 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -89,16 +89,6 @@ files["plugins/"] = {
"module.environment",
};
}
-files["tests/"] = {
- read_globals = {
- "testlib_new_env",
- "assert_equal",
- "assert_table",
- "assert_function",
- "assert_string",
- "assert_boolean",
- "assert_is",
- "assert_is_not",
- "runtest",
- };
+files["spec/"] = {
+ std = "+busted"
}