tests/test-check-config.t
author timeless <timeless@mozdev.org>
Thu, 05 May 2016 23:17:19 +0000
changeset 29199 daff05dcd184
parent 27992 8f244b75cc5e
child 29219 3c9066ed557c
permissions -rw-r--r--
run-tests: handle json.dumps divergence In py2, json.dumps includes a trailing space after a comma at the end of lines. The py3 behavior which omits the trailing space is preferable, so we're going to strip it.

#require test-repo

  $ 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