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/ui/screen.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/ui/screen.lua')
-rw-r--r-- | test/functional/ui/screen.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua index d7af2a4fce..b219196866 100644 --- a/test/functional/ui/screen.lua +++ b/test/functional/ui/screen.lua @@ -234,8 +234,10 @@ function Screen:expect(expected, attr_ids, attr_ignore) return ( 'Row ' .. tostring(i) .. ' didn\'t match.\n' .. 'Expected:\n|' .. table.concat(msg_expected_rows, '|\n|') .. '|\n' - .. 'Actual:\n|' .. table.concat(actual_rows, '|\n|') .. '|' - ) + .. 'Actual:\n|' .. table.concat(actual_rows, '|\n|') .. '|\n\n' .. [[ +To print the expect() call that would assert the current screen state, use +screen:snaphot_util(). In case of non-deterministic failures, use +screen:redraw_debug() to show all intermediate screen states. ]]) end end end) |