templater: fix invalid reference of runsymbol in doctest
Oversight at
da710c3df4dc. I was just lucky that this lambda function is
never evaluated.
--- a/mercurial/templater.py Sun Mar 18 12:54:03 2018 +0900
+++ b/mercurial/templater.py Sat Mar 17 15:22:14 2018 +0900
@@ -402,7 +402,7 @@
"""Compile parsed tree of function arguments into list or dict of
(func, data) pairs
- >>> context = engine(lambda t: (runsymbol, t))
+ >>> context = engine(lambda t: (templateutil.runsymbol, t))
>>> def fargs(expr, argspec):
... x = _parseexpr(expr)
... n = getsymbol(x[1])