Mercurial > hg
comparison tests/test-ui-config.out @ 3073:24c1db20990c
Include section name and parameter name (if available) in config errors.
Added tests for this.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 08 Sep 2006 10:01:45 +0200 |
parents | 18cf95ad3666 |
children | 3fef134832d8 |
comparison
equal
deleted
inserted
replaced
3072:bc3fe3b5b785 | 3073:24c1db20990c |
---|---|
1 [('bool1', 'true'), ('bool2', 'false'), ('string', 'string value')] | 1 [('bool1', 'true'), ('bool2', 'false'), ('string', 'string value')] |
2 [('list1', 'foo'), ('list2', 'foo bar baz'), ('list3', 'alice, bob'), ('list4', 'foo bar baz alice, bob')] | 2 [('list1', 'foo'), ('list2', 'foo bar baz'), ('list3', 'alice, bob'), ('list4', 'foo bar baz alice, bob')] |
3 Error in configuration section [interpolation]: | |
4 '%' must be followed by '%' or '(', found: '%bad2' | |
3 --- | 5 --- |
4 'string value' | 6 'string value' |
5 'true' | 7 'true' |
6 'false' | 8 'false' |
7 None | 9 None |
25 ['foo', 'bar'] | 27 ['foo', 'bar'] |
26 ['foo', 'bar'] | 28 ['foo', 'bar'] |
27 ['foo bar'] | 29 ['foo bar'] |
28 ['foo', 'bar'] | 30 ['foo', 'bar'] |
29 --- | 31 --- |
32 'hallo' | |
33 'hallo world' | |
34 Error in configuration section [interpolation] parameter 'value3': | |
35 Bad value substitution: | |
36 section: [interpolation] | |
37 option : value3 | |
38 key : novalue | |
39 rawval : | |
40 | |
41 Error in configuration section [interpolation] parameter 'value4': | |
42 bad interpolation variable reference '%(bad)1' | |
43 Error in configuration section [interpolation] parameter 'value5': | |
44 '%' must be followed by '%' or '(', found: '%bad2' | |
45 --- |