aboutsummaryrefslogtreecommitdiff
path: root/test/functional/autocmd
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2023-08-13 05:23:15 -0700
committerGitHub <noreply@github.com>2023-08-13 05:23:15 -0700
commit0fe921663f1be9e32afa66874fda1ef15142a47e (patch)
tree15c47c28238d0a3b84eb04e0401ccaf30f9daa43 /test/functional/autocmd
parent8179d68dc1a90f47bfb307d73e71adc98883ae00 (diff)
parent3fb372eba48796b5d0a7758f91e168be8e70e183 (diff)
downloadrneovim-0fe921663f1be9e32afa66874fda1ef15142a47e.tar.gz
rneovim-0fe921663f1be9e32afa66874fda1ef15142a47e.tar.bz2
rneovim-0fe921663f1be9e32afa66874fda1ef15142a47e.zip
Merge #15440 close 'shell' :terminal automatically
Diffstat (limited to 'test/functional/autocmd')
-rw-r--r--test/functional/autocmd/termxx_spec.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/autocmd/termxx_spec.lua b/test/functional/autocmd/termxx_spec.lua
index 359203f945..802020494b 100644
--- a/test/functional/autocmd/termxx_spec.lua
+++ b/test/functional/autocmd/termxx_spec.lua
@@ -103,12 +103,13 @@ describe('autocmd TermClose', function()
it('reports the correct <abuf>', function()
command('set hidden')
+ command('set shellcmdflag=EXE')
command('autocmd TermClose * let g:abuf = expand("<abuf>")')
command('edit foo')
command('edit bar')
eq(2, eval('bufnr("%")'))
- command('terminal')
+ command('terminal ls')
retry(nil, nil, function() eq(3, eval('bufnr("%")')) end)
command('buffer 1')