diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-02-13 17:45:15 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-02-13 17:45:15 -0500 |
commit | 9efee31fae1584c108a31fa407e32cc271d9bf10 (patch) | |
tree | 9770b4765ef28a7baed2526db26c864acf825772 /src/test/test.h | |
parent | 3b47a11654e4a4fe4931cb7fdce08b75ac667be1 (diff) | |
download | tor-9efee31fae1584c108a31fa407e32cc271d9bf10.tar.gz tor-9efee31fae1584c108a31fa407e32cc271d9bf10.zip |
Synchronize with upstream tinytest again: remove _identifiers
Diffstat (limited to 'src/test/test.h')
-rw-r--r-- | src/test/test.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test.h b/src/test/test.h index 0fcb02a41c..1aa59f1501 100644 --- a/src/test/test.h +++ b/src/test/test.h @@ -39,13 +39,13 @@ #define test_mem_op(expr1, op, expr2, len) \ tt_assert_test_fmt_type(expr1,expr2,#expr1" "#op" "#expr2, \ const char *, \ - (memcmp(_val1, _val2, len) op 0), \ + (memcmp(val1_, val2_, len) op 0), \ char *, "%s", \ { size_t printlen = (len)*2+1; \ - _print = tor_malloc(printlen); \ - base16_encode(_print, printlen, _value, \ + print_ = tor_malloc(printlen); \ + base16_encode(print_, printlen, value_, \ (len)); }, \ - { tor_free(_print); }, \ + { tor_free(print_); }, \ TT_EXIT_TEST_FUNCTION \ ); |