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

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Sun Dec 20 16:59:39 MSK 2020


Thanks for the patch!

> diff --git a/.luacheckrc b/.luacheckrc
> index ae96576ec..d9093a5eb 100644
> --- a/.luacheckrc
> +++ b/.luacheckrc
> @@ -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"}
> +}

fiber.lua is used in one place, where it can be properly fixed
instead of ignored. fiber.lua can 'return box_fiber_run_test' in
the end instead of passing this function as a global variable.


More information about the Tarantool-patches mailing list