diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2016-08-14 22:57:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-14 22:57:37 +0200 |
commit | e57988a9fb20067e474dda038943ec7573b47415 (patch) | |
tree | 4f7ebcf0702e188aa124b56694c1f62879dc663b /test/functional/terminal/buffer_spec.lua | |
parent | 884b37fd2adda17fbcc2392ae871e6999b758895 (diff) | |
parent | 725074aafcb0b2b70fc798aec84a5ca9c2233716 (diff) | |
download | rneovim-e57988a9fb20067e474dda038943ec7573b47415.tar.gz rneovim-e57988a9fb20067e474dda038943ec7573b47415.tar.bz2 rneovim-e57988a9fb20067e474dda038943ec7573b47415.zip |
Merge pull request #5197 from bfredl/screenfix
cleanup of screen tests: remove unnecessary hl_group and ignores of highlights
Diffstat (limited to 'test/functional/terminal/buffer_spec.lua')
-rw-r--r-- | test/functional/terminal/buffer_spec.lua | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/test/functional/terminal/buffer_spec.lua b/test/functional/terminal/buffer_spec.lua index 8a535d6864..1923e2c675 100644 --- a/test/functional/terminal/buffer_spec.lua +++ b/test/functional/terminal/buffer_spec.lua @@ -21,11 +21,11 @@ describe('terminal buffer', function() feed('<c-\\><c-n>:set bufhidden=wipe<cr>:enew<cr>') screen:expect([[ ^ | - ~ | - ~ | - ~ | - ~ | - ~ | + {4:~ }| + {4:~ }| + {4:~ }| + {4:~ }| + {4:~ }| :enew | ]]) end) @@ -34,11 +34,11 @@ describe('terminal buffer', function() feed(':bnext:l<esc>') screen:expect([[ ^ | - ~ | - ~ | - ~ | - ~ | - ~ | + {4:~ }| + {4:~ }| + {4:~ }| + {4:~ }| + {4:~ }| | ]]) end) @@ -78,7 +78,7 @@ describe('terminal buffer', function() | | ^ | - E21: Cannot make changes, 'modifiable' is off | + {8:E21: Cannot make changes, 'modifiable' is off} | ]]) end) @@ -138,21 +138,21 @@ describe('terminal buffer', function() feed('<c-\\><c-n>:bd!<cr>') screen:expect([[ ^ | - ~ | - ~ | - ~ | - ~ | - ~ | + {4:~ }| + {4:~ }| + {4:~ }| + {4:~ }| + {4:~ }| :bd! | ]]) execute('bnext') screen:expect([[ ^ | - ~ | - ~ | - ~ | - ~ | - ~ | + {4:~ }| + {4:~ }| + {4:~ }| + {4:~ }| + {4:~ }| :bnext | ]]) end) @@ -180,8 +180,8 @@ describe('terminal buffer', function() -- We should be in a new buffer now. screen:expect([[ ab^c | - ~ | - ========== | + {4:~ }| + {5:========== }| rows: 2, cols: 50 | {2: } | {1:========== }| |