diff options
author | Lewis Russell <lewis6991@gmail.com> | 2024-01-15 16:10:51 +0000 |
---|---|---|
committer | Lewis Russell <lewis6991@gmail.com> | 2024-01-17 10:10:17 +0000 |
commit | b536e0ba37addaea5507b054120e4c1e122c4405 (patch) | |
tree | 7941777386b9467824c9089510b33acf9323e75d /test/functional/lua/luaeval_spec.lua | |
parent | b3e5587b7f1cd6206240aea38740d2205c10ae34 (diff) | |
download | rneovim-b536e0ba37addaea5507b054120e4c1e122c4405.tar.gz rneovim-b536e0ba37addaea5507b054120e4c1e122c4405.tar.bz2 rneovim-b536e0ba37addaea5507b054120e4c1e122c4405.zip |
test: big cleanup followup
Followup to 07a7c0ec
Diffstat (limited to 'test/functional/lua/luaeval_spec.lua')
-rw-r--r-- | test/functional/lua/luaeval_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/lua/luaeval_spec.lua b/test/functional/lua/luaeval_spec.lua index 6ed7af6b6e..171d37ba55 100644 --- a/test/functional/lua/luaeval_spec.lua +++ b/test/functional/lua/luaeval_spec.lua @@ -162,7 +162,7 @@ describe('luaeval()', function() return sp('map', '[' .. val .. ']') end local function luaevalarg(argexpr, expr) - return eval(([=[ + return eval((([=[ [ extend(g:, {'_ret': luaeval(%s, %s)})._ret, type(g:_ret)==type({})&&has_key(g:_ret, '_TYPE') @@ -172,7 +172,7 @@ describe('luaeval()', function() get(g:_ret, '_VAL', g:_ret) ] : [0, g:_ret]][1] - ]=]):format(expr or '"_A"', argexpr):gsub('\n', '')) + ]=]):format(expr or '"_A"', argexpr):gsub('\n', ''))) end it('correctly passes special dictionaries', function() |