Patch 9.0.0541
Problem: Terminal pwd test fails with a very long path name.
Solution: Join two lines.
Files: src/testdir/test_terminal.vim
*** ../vim-9.0.0540/src/testdir/test_terminal.vim 2022-09-17
21:07:52.107993141 +0100
--- src/testdir/test_terminal.vim 2022-09-22 12:54:28.925216682 +0100
***************
*** 630,636 ****
endif
call mkdir('Xtermdir')
let buf = term_start(cmd, {'cwd': 'Xtermdir'})
! call WaitForAssert({-> assert_equal('Xtermdir', fnamemodify(getline(1),
":t"))})
exe buf . 'bwipe'
call delete('Xtermdir', 'rf')
--- 630,638 ----
endif
call mkdir('Xtermdir')
let buf = term_start(cmd, {'cwd': 'Xtermdir'})
! " if the path is very long it may be split over two lines, join them
! " together
! call WaitForAssert({-> assert_equal('Xtermdir', fnamemodify(getline(1) ..
getline(2), ":t"))})
exe buf . 'bwipe'
call delete('Xtermdir', 'rf')
*** ../vim-9.0.0540/src/version.c 2022-09-22 12:48:47.614418502 +0100
--- src/version.c 2022-09-22 12:55:50.064959894 +0100
***************
*** 701,702 ****
--- 701,704 ----
{ /* Add new patch number below this line */
+ /**/
+ 541,
/**/
--
hundred-and-one symptoms of being an internet addict:
130. You can't get out of your desk even if it's time to eat or time
to go to the bathroom.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220922115754.4563E1C071C%40moolenaar.net.