aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2015-02-18 19:27:02 -0500
committerRoger Dingledine <arma@torproject.org>2015-02-18 19:27:02 -0500
commit0e4bdc400576ba71ae885e94d32adc0e79e8e7fc (patch)
tree756b242ee54ebd3216fe5fe25d6c9d79ed18a5ad /src/test
parentb401ccefd78593c16da5692c77c8c65976fd63d2 (diff)
downloadtor-0e4bdc400576ba71ae885e94d32adc0e79e8e7fc.tar.gz
tor-0e4bdc400576ba71ae885e94d32adc0e79e8e7fc.zip
clean up comments and whitespace a bit
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_guardfraction.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/test_guardfraction.c b/src/test/test_guardfraction.c
index e9cf8901ff..57063c9085 100644
--- a/src/test/test_guardfraction.c
+++ b/src/test/test_guardfraction.c
@@ -18,8 +18,8 @@
#include "test.h"
#include "test_helpers.h"
-/* Generate a vote_routerstatus_t for a router with identity digest
- <b>digest_in_hex</b>. */
+/** Generate a vote_routerstatus_t for a router with identity digest
+ * <b>digest_in_hex</b>. */
static vote_routerstatus_t *
gen_vote_routerstatus_for_tests(const char *digest_in_hex, int is_guard)
{
@@ -169,7 +169,7 @@ test_parse_guardfraction_file_bad(void *arg)
tor_free(guardfraction_bad);
}
-/* Make sure that our test guardfraction file gets parsed properly, and
+/** Make sure that our test guardfraction file gets parsed properly, and
* its information are applied properly to our routerstatuses. */
static void
test_parse_guardfraction_file_good(void *arg)
@@ -263,7 +263,7 @@ test_get_guardfraction_bandwidth(void *arg)
}
/** Parse the GuardFraction element of the consensus, and make sure it
- * gets parsed correctly. */
+ * gets parsed correctly. */
static void
test_parse_guardfraction_consensus(void *arg)
{
@@ -337,8 +337,8 @@ test_parse_guardfraction_consensus(void *arg)
;
}
-/* Make sure that we use GuardFraction information when we should,
- according to the torrc option and consensus parameter. */
+/** Make sure that we use GuardFraction information when we should,
+ * according to the torrc option and consensus parameter. */
static void
test_should_apply_guardfraction(void *arg)
{