diff options
author | James McCoy <jamessan@jamessan.com> | 2017-11-12 21:09:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-12 21:09:44 -0500 |
commit | 8d8212d384f668e4e6dfea64e169ec85daef44a2 (patch) | |
tree | f78ed2d5fea977f6da6c50801038ce048d715332 /test/functional/terminal/cursor_spec.lua | |
parent | d5b7f28b44517a2e9ed07619d9fb828c043f179a (diff) | |
parent | b63cde97f40b962f80ab929036d0eb8c1228b33f (diff) | |
download | rneovim-8d8212d384f668e4e6dfea64e169ec85daef44a2.tar.gz rneovim-8d8212d384f668e4e6dfea64e169ec85daef44a2.tar.bz2 rneovim-8d8212d384f668e4e6dfea64e169ec85daef44a2.zip |
Merge pull request #7545 from jamessan/test-fixes
Fix test failures found in Debian builds, closes #7522
Diffstat (limited to 'test/functional/terminal/cursor_spec.lua')
-rw-r--r-- | test/functional/terminal/cursor_spec.lua | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/test/functional/terminal/cursor_spec.lua b/test/functional/terminal/cursor_spec.lua index d49f1bfc23..d942723d02 100644 --- a/test/functional/terminal/cursor_spec.lua +++ b/test/functional/terminal/cursor_spec.lua @@ -50,8 +50,8 @@ describe('terminal cursor', function() it('is positioned correctly when unfocused', function() screen:expect([[ {7: 1 }tty ready | - {7: 2 }{2:^ } | - {7: 3 } | + {7: 2 }^rows: 6, cols: 46 | + {7: 3 }{2: } | {7: 4 } | {7: 5 } | {7: 6 } | @@ -60,12 +60,21 @@ describe('terminal cursor', function() end) it('is positioned correctly when focused', function() + screen:expect([[ + {7: 1 }tty ready | + {7: 2 }^rows: 6, cols: 46 | + {7: 3 }{2: } | + {7: 4 } | + {7: 5 } | + {7: 6 } | + :set number | + ]]) feed('i') helpers.wait() screen:expect([[ {7: 1 }tty ready | - {7: 2 }{1: } | - {7: 3 } | + {7: 2 }rows: 6, cols: 46 | + {7: 3 }{1: } | {7: 4 } | {7: 5 } | {7: 6 } | |