Patch 9.0.0621
Problem: Filetype test leaves file behind.
Solution: Add deferred delete flag to writefile(). (Dominique Pellé,
closes #11249)
Files: src/testdir/test_filetype.vim
*** ../vim-9.0.0620/src/testdir/test_filetype.vim 2022-09-27
19:34:30.658212345 +0100
--- src/testdir/test_filetype.vim 2022-09-29 13:05:26.647706178 +0100
***************
*** 1233,1239 ****
func Test_m_file()
filetype on
! call writefile(['looks like Matlab'], 'Xfile.m')
split Xfile.m
call assert_equal('matlab', &filetype)
bwipe!
--- 1233,1239 ----
func Test_m_file()
filetype on
! call writefile(['looks like Matlab'], 'Xfile.m', 'D')
split Xfile.m
call assert_equal('matlab', &filetype)
bwipe!
*** ../vim-9.0.0620/src/version.c 2022-09-29 12:49:52.261601394 +0100
--- src/version.c 2022-09-29 13:07:02.043043750 +0100
***************
*** 701,702 ****
--- 701,704 ----
{ /* Add new patch number below this line */
+ /**/
+ 621,
/**/
--
Don't be humble ... you're not that great.
-- Golda Meir
/// 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/20220929120810.8DCE21C0517%40moolenaar.net.