diff src/testdir/test_popupwin.vim @ 17314:b60402471f69 v8.1.1656

patch 8.1.1656: popup window width is wrong when using Tabs commit https://github.com/vim/vim/commit/e089c3fd6937524a14d22baa7562b0820f1343ac Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jul 9 20:25:25 2019 +0200 patch 8.1.1656: popup window width is wrong when using Tabs Problem: Popup window width is wrong when using Tabs. (Paul Jolly) Solution: Count tabs correctly. (closes https://github.com/vim/vim/issues/4637)
author Bram Moolenaar <Bram@vim.org>
date Tue, 09 Jul 2019 20:30:04 +0200
parents 484424955bfa
children 61f0bf94ef92
line wrap: on
line diff
--- a/src/testdir/test_popupwin.vim
+++ b/src/testdir/test_popupwin.vim
@@ -225,7 +225,7 @@ func Test_popup_with_syntax_setbufvar()
 	    \ '#include <stdio.h>',
 	    \ 'int main(void)',
 	    \ '{',
-	    \ '    printf(567);',
+	    \ "\tprintf(567);",
 	    \ '}',
 	    \], {'line': 3, 'col': 21, 'highlight': 'PopupColor'})
 	call setbufvar(winbufnr(winid), '&syntax', 'cpp')