aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/ex_terminal_spec.lua
diff options
context:
space:
mode:
authorMaria José Solano <majosolano99@gmail.com>2025-01-13 19:45:11 -0800
committerMaria José Solano <majosolano99@gmail.com>2025-01-14 21:25:25 -0800
commit09e01437c968be4c6e9f6bb3ac8811108c58008c (patch)
tree1e3842b02aeed91f80f04a82d0b2b37aac689355 /test/functional/terminal/ex_terminal_spec.lua
parent850084b519e18122820478a71bb4bfa4c15e528a (diff)
downloadrneovim-09e01437c968be4c6e9f6bb3ac8811108c58008c.tar.gz
rneovim-09e01437c968be4c6e9f6bb3ac8811108c58008c.tar.bz2
rneovim-09e01437c968be4c6e9f6bb3ac8811108c58008c.zip
refactor: use nvim.foo.bar format for autocommand groups
Diffstat (limited to 'test/functional/terminal/ex_terminal_spec.lua')
-rw-r--r--test/functional/terminal/ex_terminal_spec.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/terminal/ex_terminal_spec.lua b/test/functional/terminal/ex_terminal_spec.lua
index 5224d322d3..c29a1e9cd4 100644
--- a/test/functional/terminal/ex_terminal_spec.lua
+++ b/test/functional/terminal/ex_terminal_spec.lua
@@ -176,7 +176,7 @@ local function test_terminal_with_fake_shell(backslash)
end)
it('with no argument, acts like jobstart(…,{term=true})', function()
- command('autocmd! nvim_terminal TermClose')
+ command('autocmd! nvim.terminal TermClose')
feed_command('terminal')
screen:expect([[
^ready $ |
@@ -246,7 +246,7 @@ local function test_terminal_with_fake_shell(backslash)
end)
it('ignores writes if the backing stream closes', function()
- command('autocmd! nvim_terminal TermClose')
+ command('autocmd! nvim.terminal TermClose')
feed_command('terminal')
feed('iiXXXXXXX')
poke_eventloop()
@@ -258,14 +258,14 @@ local function test_terminal_with_fake_shell(backslash)
end)
it('works with findfile()', function()
- command('autocmd! nvim_terminal TermClose')
+ command('autocmd! nvim.terminal TermClose')
feed_command('terminal')
eq('term://', string.match(eval('bufname("%")'), '^term://'))
eq('scripts/shadacat.py', eval('findfile("scripts/shadacat.py", ".")'))
end)
it('works with :find', function()
- command('autocmd! nvim_terminal TermClose')
+ command('autocmd! nvim.terminal TermClose')
feed_command('terminal')
screen:expect([[
^ready $ |