[tor-commits] [tor/master] remove two unused test_* macros

nickm at torproject.org nickm at torproject.org
Wed Sep 17 14:31:22 UTC 2014


commit 0e0cef1d60c02e6e88f5dc0deb26074800c1f455
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Sep 15 21:28:26 2014 -0400

    remove two unused test_* macros
---
 src/test/test.h |    2 --
 1 file changed, 2 deletions(-)

diff --git a/src/test/test.h b/src/test/test.h
index 5d0c062..d346411 100644
--- a/src/test/test.h
+++ b/src/test/test.h
@@ -25,9 +25,7 @@
 #define test_assert(expr) tt_assert(expr)
 
 #define test_eq(expr1, expr2) tt_int_op((expr1), ==, (expr2))
-#define test_neq(expr1, expr2) tt_int_op((expr1), !=, (expr2))
 #define test_streq(expr1, expr2) tt_str_op((expr1), ==, (expr2))
-#define test_strneq(expr1, expr2) tt_str_op((expr1), !=, (expr2))
 
 /* As test_mem_op, but decodes 'hex' before comparing.  There must be a
  * local char* variable called mem_op_hex_tmp for this to work. */





More information about the tor-commits mailing list