diff options
Diffstat (limited to 'test/functional/terminal/edit_spec.lua')
| -rw-r--r-- | test/functional/terminal/edit_spec.lua | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/test/functional/terminal/edit_spec.lua b/test/functional/terminal/edit_spec.lua index 42a5c768bb..84d7ae6e9c 100644 --- a/test/functional/terminal/edit_spec.lua +++ b/test/functional/terminal/edit_spec.lua @@ -36,6 +36,7 @@ describe(':edit term://*', function()      local scr = get_screen(columns, lines)      local rep = 'a'      meths.set_option('shellcmdflag', 'REP ' .. rep) +    command('set shellxquote=')  -- win: avoid extra quotes      local rep_size = rep:byte()  -- 'a' => 97      local sb = 10      command('autocmd TermOpen * :setlocal scrollback='..tostring(sb) @@ -45,11 +46,8 @@ describe(':edit term://*', function()      local bufcontents = {}      local winheight = curwinmeths.get_height()      local buf_cont_start = rep_size - sb - winheight + 2 -    local function bufline (i) -      return ('%d: foobar'):format(i) -    end      for i = buf_cont_start,(rep_size - 1) do -      bufcontents[#bufcontents + 1] = bufline(i) +      bufcontents[#bufcontents + 1] = ('%d: foobar'):format(i)      end      bufcontents[#bufcontents + 1] = ''      bufcontents[#bufcontents + 1] = '[Process exited 0]' | 
