From 44e570d5fe149991f5da715462d8d7d1aaf07b89 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 16 Sep 2017 10:13:39 +0100 Subject: .luacheckrc: Add busted globals for spec/* (thanks av6!) --- .luacheckrc | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to '.luacheckrc') 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" } -- cgit v1.2.3