[Tarantool-patches] [PATCH v7 2/3] luacheck: fix warnings in test/app

sergeyb at tarantool.org sergeyb at tarantool.org
Wed Dec 16 19:00:02 MSK 2020


From: Sergey Bronnikov <sergeyb at tarantool.org>

Part of #5454

Reviewed-by: Vladislav Shpilevoy <v.shpilevoy at tarantool.org>
Reviewed-by: Igor Munkin <imun at tarantool.org>

Co-authored-by: Vladislav Shpilevoy <v.shpilevoy at tarantool.org>
Co-authored-by: Igor Munkin <imun at tarantool.org>
---
 .luacheckrc                   | 5 ++++-
 test/app-tap/cfg.test.lua     | 2 +-
 test/app-tap/console.test.lua | 2 +-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/.luacheckrc b/.luacheckrc
index ae96576ec..d9093a5eb 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -32,7 +32,7 @@ exclude_files = {
     "build/**/*.lua",
     -- Third-party source code.
     "test-run/**/*.lua",
-    "test/app/*.lua",
+    "test/app/*.test.lua",
     "test/box/**/*.lua",
     "test/box-py/**/*.lua",
     "test/box-tap/**/*.lua",
@@ -109,3 +109,6 @@ files["test/app-tap/lua/require_mod.lua"] = {
 files["test/app-tap/string.test.lua"] = {
     globals = {"utf8"}
 }
+files["test/app/lua/fiber.lua"] = {
+    globals = {"box_fiber_run_test"}
+}

-- 
2.25.1


More information about the Tarantool-patches mailing list