diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-02-26 14:16:55 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-02-26 14:18:40 -0500 |
commit | 2c792d1e0e6f92c33287ba8e87055142745a6532 (patch) | |
tree | 37043dd76020004a96ba70541bbd836a59283189 /src/test | |
parent | 7e7aff9b6a3bcf240fe30320e1bcd5ffdab92f13 (diff) | |
download | tor-2c792d1e0e6f92c33287ba8e87055142745a6532.tar.gz tor-2c792d1e0e6f92c33287ba8e87055142745a6532.zip |
In typed_var_kvassign, include config names in error messages.
This should improve the usability of our configuration error messages.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_options.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_options.c b/src/test/test_options.c index 129a8299e3..636d3c0e54 100644 --- a/src/test/test_options.c +++ b/src/test/test_options.c @@ -4269,7 +4269,8 @@ test_options_trial_assign(void *arg) v = options_trial_assign(lines, 0, &msg); tt_int_op(v, OP_EQ, SETOPT_ERR_PARSE); tt_str_op(msg, OP_EQ, - "Unrecognized value ambidextrous. Allowed values are 0 and 1."); + "Could not parse UseBridges: Unrecognized value ambidextrous. " + "Allowed values are 0 and 1."); tor_free(msg); config_free_lines(lines); |