view tests/test-check-config.t @ 31694:10d88dc7c010

rcutil: extract duplicated logic to a lambda This simplifies the code a bit.
author Jun Wu <quark@fb.com>
date Tue, 28 Mar 2017 07:57:56 -0700
parents 3c9066ed557c
children 7c11869cf23a
line wrap: on
line source

#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