diff options
Diffstat (limited to 'test/functional/lua/glob_spec.lua')
-rw-r--r-- | test/functional/lua/glob_spec.lua | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/functional/lua/glob_spec.lua b/test/functional/lua/glob_spec.lua index ce38d25e46..c7ef498008 100644 --- a/test/functional/lua/glob_spec.lua +++ b/test/functional/lua/glob_spec.lua @@ -7,11 +7,14 @@ describe('glob', function() after_each(helpers.clear) local match = function(...) - return exec_lua([[ + return exec_lua( + [[ local pattern = select(1, ...) local str = select(2, ...) return require("vim.glob").to_lpeg(pattern):match(str) ~= nil - ]], ...) + ]], + ... + ) end describe('glob matching', function() |