diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-09-14 18:52:16 -0700 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-09-14 18:57:35 -0700 |
commit | ffdf8c4c1227874a62b950cc7138005b40004c6a (patch) | |
tree | 63a0fde18014ec2be04cadc81486cf7fe5243ef6 /test/functional/helpers.lua | |
parent | f2c75ef9b481e6c3b65f7b37a3c8e8afc5c73be3 (diff) | |
download | rneovim-ffdf8c4c1227874a62b950cc7138005b40004c6a.tar.gz rneovim-ffdf8c4c1227874a62b950cc7138005b40004c6a.tar.bz2 rneovim-ffdf8c4c1227874a62b950cc7138005b40004c6a.zip |
Context: rename "buflist" => "bufs"
Given the other type names "jumps", "vars", etc., the name "buflist"
is somewhat unintuitive.
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 |