diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-06-08 20:33:53 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-06-08 20:33:53 -0400 |
commit | b2e7c356dbbf746b263f56fbc7e808c71dd7264e (patch) | |
tree | 4ed4459f15ccf0a6027ed7805636791c18da06bb /src/test/test_dir.c | |
parent | 2fd56030574730549c7546bd54d1ec94ee308ed0 (diff) | |
download | tor-b2e7c356dbbf746b263f56fbc7e808c71dd7264e.tar.gz tor-b2e7c356dbbf746b263f56fbc7e808c71dd7264e.zip |
Prefer tt_assert in unit tests, not tor_assert
Diffstat (limited to 'src/test/test_dir.c')
-rw-r--r-- | src/test/test_dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c index 4b86be4963..4bbf7680ca 100644 --- a/src/test/test_dir.c +++ b/src/test/test_dir.c @@ -1169,10 +1169,10 @@ test_dir_v3_networkstatus(void) /* Extract a detached signature from con3. */ detached_text1 = get_detached_sigs(con3, con_md3); - tor_assert(detached_text1); + tt_assert(detached_text1); /* Try to parse it. */ dsig1 = networkstatus_parse_detached_signatures(detached_text1, NULL); - tor_assert(dsig1); + tt_assert(dsig1); /* Are parsed values as expected? */ test_eq(dsig1->valid_after, con3->valid_after); |