aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/buffer_spec.lua
diff options
context:
space:
mode:
authorerw7 <erw7.github@gmail.com>2017-03-28 18:07:58 +0900
committerJustin M. Keyes <justinkz@gmail.com>2017-08-16 09:13:43 +0200
commit4b1f21de75f9981007d80aca8355239e8615d6bd (patch)
treeb0322a5b61eacbd6207603b346fca2f7d957458a /test/functional/terminal/buffer_spec.lua
parenta79785675564a4c1f02f9aa54249fc6000187c0d (diff)
downloadrneovim-4b1f21de75f9981007d80aca8355239e8615d6bd.tar.gz
rneovim-4b1f21de75f9981007d80aca8355239e8615d6bd.tar.bz2
rneovim-4b1f21de75f9981007d80aca8355239e8615d6bd.zip
win: support :terminal
Diffstat (limited to 'test/functional/terminal/buffer_spec.lua')
-rw-r--r--test/functional/terminal/buffer_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/terminal/buffer_spec.lua b/test/functional/terminal/buffer_spec.lua
index 48b8512bf0..22ab0a8c21 100644
--- a/test/functional/terminal/buffer_spec.lua
+++ b/test/functional/terminal/buffer_spec.lua
@@ -6,8 +6,6 @@ local eval, feed_command, source = helpers.eval, helpers.feed_command, helpers.s
local eq, neq = helpers.eq, helpers.neq
local write_file = helpers.write_file
-if helpers.pending_win32(pending) then return end
-
describe('terminal buffer', function()
local screen
@@ -72,6 +70,7 @@ describe('terminal buffer', function()
end)
it('cannot be modified directly', function()
+ if helpers.pending_win32(pending) then return end
feed('<c-\\><c-n>dd')
screen:expect([[
tty ready |
@@ -160,6 +159,7 @@ describe('terminal buffer', function()
end)
it('handles loss of focus gracefully', function()
+ if helpers.pending_win32(pending) then return end
-- Change the statusline to avoid printing the file name, which varies.
nvim('set_option', 'statusline', '==========')
feed_command('set laststatus=0')
@@ -205,7 +205,7 @@ describe('terminal buffer', function()
end)
describe('No heap-buffer-overflow when using', function()
-
+ if helpers.pending_win32(pending) then return end
local testfilename = 'Xtestfile-functional-terminal-buffers_spec'
before_each(function()