diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-02-03 16:21:32 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-02-03 16:21:32 -0500 |
commit | c61a472076bb287f94c843f1bddf5e1604014dfe (patch) | |
tree | a71a24e29c67bb4c27e2d9590c225790f2fa3332 /src/test/test_config.c | |
parent | 24544a10c0f9e9022d13a413bf3330745d851afa (diff) | |
download | tor-c61a472076bb287f94c843f1bddf5e1604014dfe.tar.gz tor-c61a472076bb287f94c843f1bddf5e1604014dfe.zip |
test_config.c: log which address should have failed
Diffstat (limited to 'src/test/test_config.c')
-rw-r--r-- | src/test/test_config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_config.c b/src/test/test_config.c index 6a285db6e3..3a1b6d7d88 100644 --- a/src/test/test_config.c +++ b/src/test/test_config.c @@ -358,6 +358,8 @@ static void bad_bridge_line_test(const char *string) { bridge_line_t *bridge_line = parse_bridge_line(string); + if (bridge_line) + TT_FAIL(("%s was supposed to fail, but it didn't.", string)); test_assert(!bridge_line); done: |