diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-02-26 12:40:53 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-02-26 13:02:28 -0500 |
commit | b133325a3ecae9f405127d4b6c0406056723029f (patch) | |
tree | bc0b34c11dfd2a0923883bdb1c30e8282ab24029 /src/test/test_options.c | |
parent | 7b4250286962da0f8dc6731d7f1c8cec9ccb4146 (diff) | |
download | tor-b133325a3ecae9f405127d4b6c0406056723029f.tar.gz tor-b133325a3ecae9f405127d4b6c0406056723029f.zip |
confmgt: when an int/enum value is invalid, say which values are ok.
Part of 33460.
Diffstat (limited to 'src/test/test_options.c')
-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 b6a9a21501..b67c37f505 100644 --- a/src/test/test_options.c +++ b/src/test/test_options.c @@ -4276,7 +4276,8 @@ test_options_trial_assign(void *arg) tt_int_op(r, OP_EQ, 0); 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."); + tt_str_op(msg, OP_EQ, + "Unrecognized value ambidextrous. Allowed values are 0 and 1."); tor_free(msg); config_free_lines(lines); |