summaryrefslogtreecommitdiff
path: root/src/test/test_nodelist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-01-17 09:22:12 -0500
committerteor <teor@torproject.org>2020-01-20 15:48:45 +1000
commit152cbf2a5987128efc708f99b10cd6c8ad9862d8 (patch)
tree5e77f7ae8d979046b41742fa0664fdf1d58c505d /src/test/test_nodelist.c
parentc3633e6b295f9dbafd4c86795dfa79ed784c3bd2 (diff)
downloadtor-152cbf2a5987128efc708f99b10cd6c8ad9862d8.tar.gz
tor-152cbf2a5987128efc708f99b10cd6c8ad9862d8.zip
Rename routerstatus_has_changed to routerstatus_has_visibly_changed
This is an automated commit, generated by this command: ./scripts/maint/rename_c_identifier.py \ routerstatus_has_changed routerstatus_has_visibly_changed It was generated with --no-verify, since it introduces a wide line. I'll fix it in a subsequent commit.
Diffstat (limited to 'src/test/test_nodelist.c')
-rw-r--r--src/test/test_nodelist.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test_nodelist.c b/src/test/test_nodelist.c
index d47cfc090b..c568e3698b 100644
--- a/src/test/test_nodelist.c
+++ b/src/test/test_nodelist.c
@@ -1282,21 +1282,21 @@ test_nodelist_routerstatus_has_changed(void *arg)
STMT_END
#define ASSERT_SAME() \
STMT_BEGIN \
- tt_assert(! routerstatus_has_changed(&rs_orig, &rs)); \
+ tt_assert(! routerstatus_has_visibly_changed(&rs_orig, &rs)); \
FORMAT(); \
tt_str_op(fmt_orig, OP_EQ, fmt); \
COPY(); \
STMT_END
#define ASSERT_CHANGED() \
STMT_BEGIN \
- tt_assert(routerstatus_has_changed(&rs_orig, &rs)); \
+ tt_assert(routerstatus_has_visibly_changed(&rs_orig, &rs)); \
FORMAT(); \
tt_str_op(fmt_orig, OP_NE, fmt); \
COPY(); \
STMT_END
#define ASSERT_CHANGED_NO_FORMAT() \
STMT_BEGIN \
- tt_assert(routerstatus_has_changed(&rs_orig, &rs)); \
+ tt_assert(routerstatus_has_visibly_changed(&rs_orig, &rs)); \
COPY(); \
STMT_END
@@ -1432,6 +1432,6 @@ struct testcase_t nodelist_tests[] = {
NODE(routerstatus_describe, 0),
NODE(extend_info_describe, 0),
NODE(router_get_verbose_nickname, 0),
- NODE(routerstatus_has_changed, 0),
+ NODE(routerstatus_has_visibly_changed, 0),
END_OF_TESTCASES
};