tests/test-check-config.t
author Yuya Nishihara <yuya@tcha.org>
Sat, 15 Apr 2017 10:51:17 +0900
changeset 32039 2ab7578e685b
parent 29219 3c9066ed557c
child 32846 7c11869cf23a
permissions -rw-r--r--
templatefilters: fix crash by string formatting of '{x|splitlines}' Before, it crashed because mapping['templ'] was missing. As it didn't support the legacy list template from the beginning, we can simply use hybridlist().

#require test-repo

  $ . "$TESTDIR/helpers-testrepo.sh"
  $ cd "$TESTDIR"/..

New errors are not allowed. Warnings are strongly discouraged.

  $ hg files "set:(**.py or **.txt) - tests/**" | sed 's|\\|/|g' |
  >   python contrib/check-config.py