Changeset

8239:20e3d5689cce

.luacheckrc: Add busted globals for spec/* (thanks av6!)
author Matthew Wild <mwild1@gmail.com>
date Sat, 16 Sep 2017 10:13:39 +0100
parents 8238:1339d7ed54d5
children 8240:c803624cae3d
files .luacheckrc
diffstat 1 files changed, 2 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/.luacheckrc	Sat Sep 16 03:46:55 2017 -0400
+++ b/.luacheckrc	Sat Sep 16 10:13:39 2017 +0100
@@ -89,16 +89,6 @@
 		"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"
 }