Problem: Vim9: executing user command defined in Vim9 script not tested.
Solution: Add a test.
'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',
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2127,
/**/
2126,
/**/