Patch 8.2.3130
Problem:    Vim9: import test fails.
Solution:   Rename directory back to "import", use "p" to avoid an error when
            the directory already exists.
Files:      src/testdir/test_vim9_script.vim


*** ../vim-8.2.3129/src/testdir/test_vim9_script.vim    2021-07-08 
21:38:45.343232315 +0200
--- src/testdir/test_vim9_script.vim    2021-07-08 21:58:31.805325348 +0200
***************
*** 1955,1962 ****
          'g:imported_rtp = exported',
          ]
    writefile(import_lines, 'Ximport_rtp.vim')
!   mkdir('Ximport')
!   writefile(s:export_script_lines, 'Ximport/Xexport_rtp.vim')
  
    var save_rtp = &rtp
    &rtp = getcwd()
--- 1955,1962 ----
          'g:imported_rtp = exported',
          ]
    writefile(import_lines, 'Ximport_rtp.vim')
!   mkdir('import', 'p')
!   writefile(s:export_script_lines, 'import/Xexport_rtp.vim')
  
    var save_rtp = &rtp
    &rtp = getcwd()
***************
*** 1968,1974 ****
    Undo_export_script_lines()
    unlet g:imported_rtp
    delete('Ximport_rtp.vim')
!   delete('Ximport', 'rf')
  enddef
  
  def Test_import_compile_error()
--- 1968,1974 ----
    Undo_export_script_lines()
    unlet g:imported_rtp
    delete('Ximport_rtp.vim')
!   delete('import', 'rf')
  enddef
  
  def Test_import_compile_error()
*** ../vim-8.2.3129/src/version.c       2021-07-08 21:38:45.343232315 +0200
--- src/version.c       2021-07-08 22:00:02.349175974 +0200
***************
*** 757,758 ****
--- 757,760 ----
  {   /* Add new patch number below this line */
+ /**/
+     3130,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
98. The Alta Vista administrators ask you what sites are missing
    in their index files.

 /// 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/202107082003.168K3I2g106884%40masaka.moolenaar.net.

Raspunde prin e-mail lui