Patch 8.2.2127
Problem:    Vim9: executing user command defined in Vim9 script not tested.
Solution:   Add a test.
Files:      src/testdir/test_vim9_script.vim


*** ../vim-8.2.2126/src/testdir/test_vim9_script.vim    2020-12-09 
17:16:46.708470428 +0100
--- src/testdir/test_vim9_script.vim    2020-12-10 20:59:51.292643381 +0100
***************
*** 2381,2386 ****
--- 2381,2407 ----
        'Echo',
        ], 'E121:')
    delcommand Echo
+ 
+   var curdir = getcwd()
+   CheckScriptSuccess([
+       'command Echo cd " comment',
+       'Echo',
+       'delcommand Echo',
+       ])
+   CheckScriptSuccess([
+       'vim9script'
+       'command Echo cd # comment',
+       'Echo',
+       'delcommand Echo',
+       ])
+   CheckScriptFailure([
+       'vim9script',
+       'command Echo cd " comment',
+       'Echo',
+       ], 'E344:')
+   delcommand Echo
+   chdir(curdir)
+ 
    CheckScriptFailure([
        'vim9script',
        'command Echo# comment',
*** ../vim-8.2.2126/src/version.c       2020-12-10 20:50:31.046939538 +0100
--- src/version.c       2020-12-10 21:01:04.144344928 +0100
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     2127,
  /**/

-- 
FROG: How you English say:  I one more time, mac, I unclog my nose towards
      you, sons of a window-dresser,  so, you think you could out-clever us
      French fellows with your silly knees-bent creeping about advancing
      behaviour.  (blows a raspberry) I wave my private parts at your aunties,
      you brightly-coloured, mealy-templed, cranberry-smelling, electric
      donkey-bottom biters.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202012102001.0BAK1txt2332274%40masaka.moolenaar.net.

Raspunde prin e-mail lui