aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/autocmd_option_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/autocmd_option_spec.lua')
-rw-r--r--test/functional/legacy/autocmd_option_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/legacy/autocmd_option_spec.lua b/test/functional/legacy/autocmd_option_spec.lua
index 0c7e43bf31..de0e32c813 100644
--- a/test/functional/legacy/autocmd_option_spec.lua
+++ b/test/functional/legacy/autocmd_option_spec.lua
@@ -5,6 +5,7 @@ local curbuf, buf = helpers.curbuf, helpers.bufmeths
local curwin = helpers.curwin
local redir_exec = helpers.redir_exec
local source, command = helpers.source, helpers.command
+local unpack = table.unpack or unpack -- luacheck: ignore
local function declare_hook_function()
source([[