diff options
author | Matthew Wild <mwild1@gmail.com> | 2017-09-16 10:13:39 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2017-09-16 10:13:39 +0100 |
commit | 439471ac36c67bfd02025b381b5152418d8387b0 (patch) | |
tree | 8c0c4c41515ca7512ba5f3ae88af2b5a9d0f1b84 /.luacheckrc | |
parent | fad428a8e7e85aa23b499c5c1e168e256c2e7226 (diff) | |
download | prosody-439471ac36c67bfd02025b381b5152418d8387b0.tar.gz prosody-439471ac36c67bfd02025b381b5152418d8387b0.zip |
.luacheckrc: Add busted globals for spec/* (thanks av6!)
Diffstat (limited to '.luacheckrc')
-rw-r--r-- | .luacheckrc | 14 |
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" } |