diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-09-14 19:53:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-14 19:53:33 -0700 |
commit | 86e819d492faa2494ffe0e86f37c49eb4c0f2e56 (patch) | |
tree | 63a0fde18014ec2be04cadc81486cf7fe5243ef6 /test/functional/helpers.lua | |
parent | 2e0e592ea29ea7d2da333824a93aa543a6f7f390 (diff) | |
parent | ffdf8c4c1227874a62b950cc7138005b40004c6a (diff) | |
download | rneovim-86e819d492faa2494ffe0e86f37c49eb4c0f2e56.tar.gz rneovim-86e819d492faa2494ffe0e86f37c49eb4c0f2e56.tar.bz2 rneovim-86e819d492faa2494ffe0e86f37c49eb4c0f2e56.zip |
Merge #11021 from justinmk/ctx-rename-buflist
API: Context: "opts" param, et al.
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r-- | test/functional/helpers.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua index 2cf81ed4d0..b29161e34c 100644 --- a/test/functional/helpers.lua +++ b/test/functional/helpers.lua @@ -777,12 +777,12 @@ end function module.parse_context(ctx) local parsed = {} - for _, item in ipairs({'regs', 'jumps', 'buflist', 'gvars'}) do + for _, item in ipairs({'regs', 'jumps', 'bufs', 'gvars'}) do parsed[item] = filter(function(v) return type(v) == 'table' end, module.call('msgpackparse', ctx[item])) end - parsed['buflist'] = parsed['buflist'][1] + parsed['bufs'] = parsed['bufs'][1] return map(function(v) if #v == 0 then return nil |