Browse Source

test: Use a 64-bit comparison for logging domains.

Nick Mathewson 4 years ago
parent
commit
6095bbf74e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/test/test_routerlist.c

+ 1 - 1
src/test/test_routerlist.c

@@ -631,7 +631,7 @@ mock_clock_skew_warning(const connection_t *conn, long apparent_skew,
   (void)conn;
   mock_apparent_skew = apparent_skew;
   tt_int_op(trusted, OP_EQ, 1);
-  tt_int_op(domain, OP_EQ, LD_GENERAL);
+  tt_i64_op(domain, OP_EQ, LD_GENERAL);
   tt_str_op(received, OP_EQ, "microdesc flavor consensus");
   tt_str_op(source, OP_EQ, "CONSENSUS");
  done: