aboutsummaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2024-04-20 09:06:49 -0700
committerGitHub <noreply@github.com>2024-04-20 09:06:49 -0700
commit8886b1807c4c0fd96558f198e4fc8cf962a7cc5b (patch)
tree0f20daf8c906165e69e5583dff96ac13cadf7467 /test/unit
parentf190f758ac58d9cc955368e047b070e0a2261033 (diff)
downloadrneovim-8886b1807c4c0fd96558f198e4fc8cf962a7cc5b.tar.gz
rneovim-8886b1807c4c0fd96558f198e4fc8cf962a7cc5b.tar.bz2
rneovim-8886b1807c4c0fd96558f198e4fc8cf962a7cc5b.zip
refactor(lua): "module" => "M" #28426
Most of the codebase uses the `M` convention for Lua module. Update the last remaining cases.
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/testutil.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/testutil.lua b/test/unit/testutil.lua
index bea08b69e8..a6db7beab1 100644
--- a/test/unit/testutil.lua
+++ b/test/unit/testutil.lua
@@ -877,7 +877,7 @@ local function is_asan()
end
--- @class test.unit.testutil.module
-local module = {
+local M = {
cimport = cimport,
cppimport = cppimport,
internalize = internalize,
@@ -907,6 +907,6 @@ local module = {
is_asan = is_asan,
}
--- @class test.unit.testutil: test.unit.testutil.module, test.testutil
-module = vim.tbl_extend('error', module, t_global)
+M = vim.tbl_extend('error', M, t_global)
-return module
+return M