Browse Source

test_config.c: log which address should have failed

Nick Mathewson 10 years ago
parent
commit
c61a472076
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/test/test_config.c

+ 2 - 0
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: