aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/ex_terminal_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-10-09 16:00:12 +0200
committerJustin M. Keyes <justinkz@gmail.com>2016-10-12 21:37:08 +0200
commit6b7faf22f4c2a7cdfeae5a8bd72674252a7740d7 (patch)
tree3200dd0b3f164c51d451bc5901b17d6d71b59dfa /test/functional/terminal/ex_terminal_spec.lua
parent538255c228acb59b6596011627abd2f6e0fa67d1 (diff)
downloadrneovim-6b7faf22f4c2a7cdfeae5a8bd72674252a7740d7.tar.gz
rneovim-6b7faf22f4c2a7cdfeae5a8bd72674252a7740d7.tar.bz2
rneovim-6b7faf22f4c2a7cdfeae5a8bd72674252a7740d7.zip
main.c: "BufReadCmd term://": Skip existing terminal.
Check `exists('b:term_title')` to avoid the BufReadCmd for already-initialized :terminal buffers. Move the test for `:argadd`. Add a test for `:edit<CR>`. Tweak comments and code style.
Diffstat (limited to 'test/functional/terminal/ex_terminal_spec.lua')
-rw-r--r--test/functional/terminal/ex_terminal_spec.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/functional/terminal/ex_terminal_spec.lua b/test/functional/terminal/ex_terminal_spec.lua
index 46afd09594..09b4eaa8d5 100644
--- a/test/functional/terminal/ex_terminal_spec.lua
+++ b/test/functional/terminal/ex_terminal_spec.lua
@@ -3,7 +3,6 @@ local Screen = require('test.functional.ui.screen')
local clear, wait, nvim = helpers.clear, helpers.wait, helpers.nvim
local nvim_dir, source, eq = helpers.nvim_dir, helpers.source, helpers.eq
local execute, eval = helpers.execute, helpers.eval
-local funcs = helpers.funcs
if helpers.pending_win32(pending) then return end