tests/ui: Also test character at cursor

This commit is contained in:
Björn Linse
2015-03-05 10:07:55 +01:00
committed by Thiago de Arruda
parent 638452da2a
commit a7aeda8c7a
9 changed files with 57 additions and 58 deletions

View File

@@ -60,7 +60,7 @@ describe('system()', function()
it('`echo` and waits for its return', function()
feed(':call system("echo")<cr>')
screen:expect([[
^ |
^ |
~ |
~ |
~ |
@@ -93,11 +93,11 @@ describe('system()', function()
~ |
~ |
~ |
^call system("yes") |
^:call system("yes") |
]])
feed('<c-c>')
screen:expect([[
^ |
^ |
~ |
~ |
~ |
@@ -226,7 +226,7 @@ describe('systemlist()', function()
it('`echo` and waits for its return', function()
feed(':call systemlist("echo")<cr>')
screen:expect([[
^ |
^ |
~ |
~ |
~ |
@@ -259,11 +259,11 @@ describe('systemlist()', function()
~ |
~ |
~ |
^call systemlist("yes | xargs") |
^:call systemlist("yes | xargs") |
]])
feed('<c-c>')
screen:expect([[
^ |
^ |
~ |
~ |
~ |