浏览代码

fix unit tests after r13092

svn:r13100
Roger Dingledine 18 年之前
父节点
当前提交
4e9a701d4b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/or/test.c

+ 2 - 2
src/or/test.c

@@ -3449,7 +3449,7 @@ test_geoip(void)
     geoip_note_client_seen(i, now-7200);
   s = geoip_get_client_history(now+5*24*60*60);
   test_assert(s);
-  test_streq("zz=16,ab=8", s);
+  test_streq("zz=24,ab=16", s);
   tor_free(s);
 
   /* Now clear out all the zz observations. */
@@ -3461,7 +3461,7 @@ test_geoip(void)
     geoip_note_client_seen(i, now-3600);
   s = geoip_get_client_history(now+5*24*60*60);
   test_assert(s);
-  test_streq("ab=8", s);
+  test_streq("ab=16", s);
   tor_free(s);
 }