Mercurial > public > mercurial-scm > hg
diff tests/test-check-config.t @ 33570:e470f12d7d05
check-config: mention the file and line of the error
I used this to more quickly track down a failing test-check-config.t issue
in another repo. I thought it might be useful more generally, so I'm sending
it out in case others think it's a worthwhile change.
author | Ryan McElroy <rmcelroy@fb.com> |
---|---|
date | Tue, 18 Jul 2017 06:27:36 -0700 |
parents | ddd65b4f3ae6 |
children | 4441705b7111 |
line wrap: on
line diff
--- a/tests/test-check-config.t Tue Jul 18 07:47:28 2017 -0700 +++ b/tests/test-check-config.t Tue Jul 18 06:27:36 2017 -0700 @@ -32,8 +32,8 @@ $ $PYTHON contrib/check-config.py < $TESTTMP/files foo = ui.configint('ui', 'intdefault', default=42) - conflict on ui.intdefault: ('int', '42') != ('int', '1') + at $TESTTMP/testfile.py:12: (glob) undocumented: ui.doesnotexist (str) undocumented: ui.intdefault (int) [42] undocumented: ui.intdefault2 (int) [42]