diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-09-08 15:43:56 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-09-08 15:43:56 -0400 |
commit | 55713f0d790378e2788c9bec1d26134838af739a (patch) | |
tree | ac0f2345ecd0e2093d48ffc9c841061aacc19290 /src/test | |
parent | d860b99dbf9f86aa27d7e7fcf161d2b16d838c68 (diff) | |
download | tor-55713f0d790378e2788c9bec1d26134838af739a.tar.gz tor-55713f0d790378e2788c9bec1d26134838af739a.zip |
Placate "make check-spaces"
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/log_test_helpers.c | 1 | ||||
-rw-r--r-- | src/test/test_address.c | 2 | ||||
-rw-r--r-- | src/test/test_config.c | 3 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/test/log_test_helpers.c b/src/test/log_test_helpers.c index 3dc926dd3f..c788a33c17 100644 --- a/src/test/log_test_helpers.c +++ b/src/test/log_test_helpers.c @@ -238,3 +238,4 @@ mock_dump_saved_logs(void) escaped(m->generated_msg)); } SMARTLIST_FOREACH_END(m); } + diff --git a/src/test/test_address.c b/src/test/test_address.c index 0be4c54bcf..9b4c52fdfc 100644 --- a/src/test/test_address.c +++ b/src/test/test_address.c @@ -801,7 +801,6 @@ test_address_get_if_addrs6_list_internal(void *arg) if (smartlist_len(mock_saved_logs()) == 1) { expect_log_msg_containing_either("connect() failed", "unable to create socket"); - } teardown_capture_of_logs(); @@ -840,7 +839,6 @@ test_address_get_if_addrs6_list_no_internal(void *arg) if (smartlist_len(mock_saved_logs()) == 1) { expect_log_msg_containing_either("connect() failed", "unable to create socket"); - } teardown_capture_of_logs(); diff --git a/src/test/test_config.c b/src/test/test_config.c index c1222e5276..ee1686c65a 100644 --- a/src/test/test_config.c +++ b/src/test/test_config.c @@ -4238,7 +4238,8 @@ test_config_parse_port_config__ports__ports_given(void *data) config_free_lines(config_port_valid); config_port_valid = NULL; SMARTLIST_FOREACH(slout,port_cfg_t *,pf,port_cfg_free(pf)); smartlist_clear(slout); - config_port_valid = mock_config_line("SOCKSPort", "42 IPv6Traffic PreferIPv6"); + config_port_valid = mock_config_line("SOCKSPort", + "42 IPv6Traffic PreferIPv6"); ret = parse_port_config(slout, config_port_valid, NULL, "SOCKS", CONN_TYPE_AP_LISTENER, "127.0.0.42", 0, CL_PORT_TAKES_HOSTNAMES); |