aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/helpers.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-12-31 17:37:50 +0100
committerGitHub <noreply@github.com>2018-12-31 17:37:50 +0100
commit6427894d891100c0a41f569ecde65bfdce2ea00c (patch)
treec34bef18907b53dc98e0009ff69a799440080384 /test/functional/terminal/helpers.lua
parentccbcd390d42d33a15f15c29fab5d6076a6d3ac08 (diff)
parentc72d9ce0a602ba53b99145f64f0d43327a4e3eb3 (diff)
downloadrneovim-6427894d891100c0a41f569ecde65bfdce2ea00c.tar.gz
rneovim-6427894d891100c0a41f569ecde65bfdce2ea00c.tar.bz2
rneovim-6427894d891100c0a41f569ecde65bfdce2ea00c.zip
Merge pull request #8455 from UtkarshMe/grid-split
implement ext_multigrid: draw each window on a separate resizable grid.
Diffstat (limited to 'test/functional/terminal/helpers.lua')
-rw-r--r--test/functional/terminal/helpers.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/terminal/helpers.lua b/test/functional/terminal/helpers.lua
index ae8d4704e4..7de0152de0 100644
--- a/test/functional/terminal/helpers.lua
+++ b/test/functional/terminal/helpers.lua
@@ -72,10 +72,10 @@ local function screen_setup(extra_rows, command, cols)
if command == default_command then
-- Wait for "tty ready" to be printed before each test or the terminal may
-- still be in canonical mode (will echo characters for example).
- local empty_line = (' '):rep(cols + 1)
+ local empty_line = (' '):rep(cols)
local expected = {
- 'tty ready'..(' '):rep(cols - 8),
- '{1: }' ..(' '):rep(cols),
+ 'tty ready'..(' '):rep(cols - 9),
+ '{1: }' ..(' '):rep(cols - 1),
empty_line,
empty_line,
empty_line,
@@ -85,8 +85,8 @@ local function screen_setup(extra_rows, command, cols)
table.insert(expected, empty_line)
end
- table.insert(expected, '{3:-- TERMINAL --}' .. ((' '):rep(cols - 13)))
- screen:expect(table.concat(expected, '\n'))
+ table.insert(expected, '{3:-- TERMINAL --}' .. ((' '):rep(cols - 14)))
+ screen:expect(table.concat(expected, '|\n')..'|')
else
-- This eval also acts as a wait().
if 0 == nvim('eval', "exists('b:terminal_job_id')") then