aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-01-08 23:29:32 +0800
committerGitHub <noreply@github.com>2022-01-08 08:29:32 -0700
commite70ea6ea20915865939d5199a18aebf68b67a708 (patch)
tree59776852466dd5a72547501c95c4ca1ddb97a46b
parent3088ac71f9fb7eb409a24aac6b2339e004658884 (diff)
downloadrneovim-e70ea6ea20915865939d5199a18aebf68b67a708.tar.gz
rneovim-e70ea6ea20915865939d5199a18aebf68b67a708.tar.bz2
rneovim-e70ea6ea20915865939d5199a18aebf68b67a708.zip
test: remove redundant feed_command('terminal') (#16993)
It just types :terminal<CR> into the terminal, which is redundant.
-rw-r--r--test/functional/terminal/buffer_spec.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/terminal/buffer_spec.lua b/test/functional/terminal/buffer_spec.lua
index 1ff451434d..beb43e0271 100644
--- a/test/functional/terminal/buffer_spec.lua
+++ b/test/functional/terminal/buffer_spec.lua
@@ -292,10 +292,9 @@ describe(':terminal buffer', function()
command('quit')
end)
- it('does not segfault when pasting empty buffer #13955', function()
- feed_command('terminal')
+ it('does not segfault when pasting empty register #13955', function()
feed('<c-\\><c-n>')
- feed_command('put a') -- buffer a is empty
+ feed_command('put a') -- register a is empty
helpers.assert_alive()
end)
end)