[tor-commits] [tor/master] Remove a duplicate test in test_util_pow2

nickm at torproject.org nickm at torproject.org
Fri Sep 14 14:06:50 UTC 2012


commit 56bd3dd87ff35863ca0fd21aab339d65ba839479
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Sep 14 10:00:47 2012 -0400

    Remove a duplicate test in test_util_pow2
---
 src/test/test_util.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/test/test_util.c b/src/test/test_util.c
index 2a194ef..2c65903 100644
--- a/src/test/test_util.c
+++ b/src/test/test_util.c
@@ -1131,7 +1131,6 @@ test_util_pow2(void)
   test_eq(round_to_power_of_2(2), 2);
   test_eq(round_to_power_of_2(3), 2);
   test_eq(round_to_power_of_2(4), 4);
-  test_eq(round_to_power_of_2(4), 4);
   test_eq(round_to_power_of_2(5), 4);
   test_eq(round_to_power_of_2(6), 4);
   test_eq(round_to_power_of_2(7), 8);





More information about the tor-commits mailing list