aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/buffer_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/terminal/buffer_spec.lua')
-rw-r--r--test/functional/terminal/buffer_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/terminal/buffer_spec.lua b/test/functional/terminal/buffer_spec.lua
index b6eb8ebdfd..8dc52a4d5e 100644
--- a/test/functional/terminal/buffer_spec.lua
+++ b/test/functional/terminal/buffer_spec.lua
@@ -322,7 +322,7 @@ describe(':terminal buffer', function()
command('split')
command('enew')
local term = api.nvim_open_term(0, {})
- local termbuf = api.nvim_get_current_buf().id
+ local termbuf = api.nvim_get_current_buf()
-- Test that autocommand buffer is associated with the terminal buffer, not the current buffer
command('au TermRequest * let g:termbuf = +expand("<abuf>")')