comparison tests/test-check-code.t @ 38434:8399438bc7ef

formatter: provide hint of context keys required by template This allows us to create ctx objects only if necessary. I tried another idea which is to populate ctx from 'repo' and 'node' value on demand. It worked, but seemed unnecessarily complicated. So I chose a simpler one. The datafields argument is a space-separated string for consistency with fm.write() API.
author Yuya Nishihara <yuya@tcha.org>
date Fri, 08 Jun 2018 22:10:22 +0900
parents 1ec874717d8a
children 850fe0b9c0c0
comparison
equal deleted inserted replaced
38433:aa98392eb5b0 38434:8399438bc7ef