tests/test-gendoc-zh_TW.t
author Boris Feld <boris.feld@octobus.net>
Fri, 09 Feb 2018 12:48:12 +0100
changeset 35991 04304b779df1
parent 28809 7a1ad08b9ff5
permissions -rw-r--r--
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.

#require docutils gettext

  $ $TESTDIR/check-gendoc zh_TW
  checking for parse errors