test: remove redundant feed_command('terminal') (#16993)

It just types :terminal<CR> into the terminal, which is redundant.
This commit is contained in:
zeertzjq 2022-01-08 23:29:32 +08:00 committed by GitHub
parent 3088ac71f9
commit e70ea6ea20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)