Mercurial > hg
view tests/test-gendoc-zh_CN.t @ 35991:04304b779df1
tests: raise a better error when patterns are wrongly formatted
It is fairly easy to make mistakes when merging conflict in the pattern file.
A common mistake is to forget adding an extra trailing comma changing the
length of the tuple.
We now detect such error and raise a better error message that helps to find
it.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 09 Feb 2018 12:48:12 +0100 |
parents | 7a1ad08b9ff5 |
children |
line wrap: on
line source
#require docutils gettext $ $TESTDIR/check-gendoc zh_CN checking for parse errors