Patch 9.0.0621

3 views
Skip to first unread message

Bram Moolenaar

unread,
Sep 29, 2022, 8:08:21 AM9/29/22
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages