[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 56bd3dd87ff35863ca0fd21aab339d65ba839479
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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);



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits