From e70ea6ea20915865939d5199a18aebf68b67a708 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 8 Jan 2022 23:29:32 +0800 Subject: [PATCH] test: remove redundant feed_command('terminal') (#16993) It just types :terminal into the terminal, which is redundant. --- test/functional/terminal/buffer_spec.lua | 5 ++--- 1 file 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('') - feed_command('put a') -- buffer a is empty + feed_command('put a') -- register a is empty helpers.assert_alive() end) end)