Problem: Vim9: bad separators for "g" and "s" insufficiently tested.
Solution: Add a few more test cases.
g-pat-cmd
END
CheckDefAndScriptFailure(lines, 'E1241:', 1)
+ lines =<< trim END
+ g.pat.cmd
+ END
+ CheckDefAndScriptFailure2(lines, 'E1001: Variable not found: g', 'E121: Undefined variable: g', 1)
lines =<< trim END
s:notexist:repl
s-pat-repl
END
CheckDefAndScriptFailure(lines, 'E1241:', 1)
+ lines =<< trim END
+ s.pat.repl
+ END
+ CheckDefAndScriptFailure2(lines, 'E1001: Variable not found: s', 'E121: Undefined variable: s', 1)
lines =<< trim END
w:notexist->len()
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 3508,
/**/
3507,
/**/