move test

This commit is contained in:
Daniel Hahler
2019-09-04 13:13:39 +02:00
parent e867ac3e52
commit 4556bb90fa
2 changed files with 34 additions and 40 deletions

View File

@@ -951,46 +951,6 @@ local function screen_tests(linegrid)
|
]])
end)
describe('more prompt', function()
it('can be quit', function()
command("set more")
feed(':echon join(map(range(0, &lines*2), "v:val"), "\\n")<cr>')
screen:expect{grid=[[
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
{7:-- More --}^ |
]]}
feed('q')
screen:expect{grid=[[
^ |
{0:~ }|
{0:~ }|
{0:~ }|
{0:~ }|
{0:~ }|
{0:~ }|
{0:~ }|
{0:~ }|
{0:~ }|
{0:~ }|
{0:~ }|
{0:~ }|
|
]]}
end)
end)
end
describe("Screen (char-based)", function()