diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-03-24 02:54:50 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-04-12 01:35:49 +0200 |
commit | d6e5f94ae945308d96be414c9c1fb3f0ae71355e (patch) | |
tree | 8aaa681a84034915153b40861146c6f27993fa52 /test/functional | |
parent | 2d72d85b23761383ac7838faed2f7b53bdce8817 (diff) | |
download | rneovim-d6e5f94ae945308d96be414c9c1fb3f0ae71355e.tar.gz rneovim-d6e5f94ae945308d96be414c9c1fb3f0ae71355e.tar.bz2 rneovim-d6e5f94ae945308d96be414c9c1fb3f0ae71355e.zip |
win: defaults: 'shellredir', 'shellxquote', 'shellxescape'
Diffstat (limited to 'test/functional')
-rw-r--r-- | test/functional/terminal/edit_spec.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/terminal/edit_spec.lua b/test/functional/terminal/edit_spec.lua index 42a5c768bb..f691a58f6c 100644 --- a/test/functional/terminal/edit_spec.lua +++ b/test/functional/terminal/edit_spec.lua @@ -8,6 +8,7 @@ local command = helpers.command local meths = helpers.meths local clear = helpers.clear local eq = helpers.eq +local iswin = helpers.iswin describe(':edit term://*', function() local get_screen = function(columns, lines) @@ -46,7 +47,7 @@ describe(':edit term://*', function() local winheight = curwinmeths.get_height() local buf_cont_start = rep_size - sb - winheight + 2 local function bufline (i) - return ('%d: foobar'):format(i) + return (iswin() and '%d: (foobar)' or '%d: foobar'):format(i) end for i = buf_cont_start,(rep_size - 1) do bufcontents[#bufcontents + 1] = bufline(i) |