Patch 8.2.2112
Problem:    Running tests may leave some files behind.
Solution:   Delete the right files.  Fix a few typos. (Dominique Pellé,
            closes #7436
Files:      src/testdir/test_filetype.vim, src/testdir/test_messages.vim,
            src/testdir/test_mksession.vim


*** ../vim-8.2.2111/src/testdir/test_filetype.vim       2020-12-07 
18:04:59.373997754 +0100
--- src/testdir/test_filetype.vim       2020-12-08 20:35:39.814112501 +0100
***************
*** 722,728 ****
    call assert_equal('typescript', &filetype)
    bwipe!
  
!   call delete('Xfile.hook')
    filetype off
  endfunc
  
--- 722,728 ----
    call assert_equal('typescript', &filetype)
    bwipe!
  
!   call delete('Xfile.ts')
    filetype off
  endfunc
  
*** ../vim-8.2.2111/src/testdir/test_messages.vim       2020-10-13 
22:15:37.482726643 +0200
--- src/testdir/test_messages.vim       2020-12-08 20:35:39.814112501 +0100
***************
*** 323,329 ****
  
    " clean up
    call StopVimInTerminal(buf)
!   call delete('Xtest_diff_rnu')
  endfunc
  
  " vim: shiftwidth=2 sts=2 expandtab
--- 323,329 ----
  
    " clean up
    call StopVimInTerminal(buf)
!   call delete('Xtest_quit_message')
  endfunc
  
  " vim: shiftwidth=2 sts=2 expandtab
*** ../vim-8.2.2111/src/testdir/test_mksession.vim      2020-11-27 
11:00:34.994467828 +0100
--- src/testdir/test_mksession.vim      2020-12-08 20:35:39.814112501 +0100
***************
*** 381,387 ****
    let term_cmd = ''
    for line in lines
      if line =~ '^terminal'
!       call assert_report('session must not restore teminal')
      endif
    endfor
  
--- 381,387 ----
    let term_cmd = ''
    for line in lines
      if line =~ '^terminal'
!       call assert_report('session must not restore terminal')
      endif
    endfor
  
***************
*** 398,404 ****
    let term_cmd = ''
    for line in lines
      if line =~ '^terminal'
!       call assert_report('session must not restore teminal')
      endif
    endfor
  
--- 398,404 ----
    let term_cmd = ''
    for line in lines
      if line =~ '^terminal'
!       call assert_report('session must not restore terminal')
      endif
    endfor
  
***************
*** 416,422 ****
    let term_cmd = ''
    for line in lines
      if line =~ '^terminal'
!       call assert_report('session must not restore teminal')
      endif
    endfor
  
--- 416,422 ----
    let term_cmd = ''
    for line in lines
      if line =~ '^terminal'
!       call assert_report('session must not restore terminal')
      endif
    endfor
  
***************
*** 434,440 ****
    let term_cmd = ''
    for line in lines
      if line =~ '^terminal'
!       call assert_report('session must not restore teminal')
      endif
    endfor
  
--- 434,440 ----
    let term_cmd = ''
    for line in lines
      if line =~ '^terminal'
!       call assert_report('session must not restore terminal')
      endif
    endfor
  
***************
*** 940,945 ****
--- 940,946 ----
    call assert_equal('Xtwoalt', bufname('#'))
    only
    bwipe!
+   call delete('Xtest_altfile')
  endfunc
  
  " vim: shiftwidth=2 sts=2 expandtab
*** ../vim-8.2.2111/src/version.c       2020-12-08 20:31:12.355320557 +0100
--- src/version.c       2020-12-08 20:36:57.533768226 +0100
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     2112,
  /**/

-- 
How do you know when you have run out of invisible ink?

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202012081939.0B8JdjH01720902%40masaka.moolenaar.net.

Raspunde prin e-mail lui