Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
33569:d341677d667d | 33570:e470f12d7d05 |
---|---|
30 | 30 |
31 $ cd "$TESTDIR"/.. | 31 $ cd "$TESTDIR"/.. |
32 | 32 |
33 $ $PYTHON contrib/check-config.py < $TESTTMP/files | 33 $ $PYTHON contrib/check-config.py < $TESTTMP/files |
34 foo = ui.configint('ui', 'intdefault', default=42) | 34 foo = ui.configint('ui', 'intdefault', default=42) |
35 | |
36 conflict on ui.intdefault: ('int', '42') != ('int', '1') | 35 conflict on ui.intdefault: ('int', '42') != ('int', '1') |
36 at $TESTTMP/testfile.py:12: (glob) | |
37 undocumented: ui.doesnotexist (str) | 37 undocumented: ui.doesnotexist (str) |
38 undocumented: ui.intdefault (int) [42] | 38 undocumented: ui.intdefault (int) [42] |
39 undocumented: ui.intdefault2 (int) [42] | 39 undocumented: ui.intdefault2 (int) [42] |
40 undocumented: ui.missingbool1 (bool) [True] | 40 undocumented: ui.missingbool1 (bool) [True] |
41 undocumented: ui.missingbool2 (bool) | 41 undocumented: ui.missingbool2 (bool) |