Selaa lähdekoodia

update unit tests to reflect changed interface

svn:r2952
Roger Dingledine 22 vuotta sitten
vanhempi
commit
d7fb38cfe3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/or/test.c

+ 1 - 1
src/or/test.c

@@ -512,7 +512,7 @@ test_util(void) {
 
 
   end.tv_sec = 4;
   end.tv_sec = 4;
 
 
-  test_eq(0L, tv_udiff(&start, &end));
+  test_eq(-1005000L, tv_udiff(&start, &end));
 
 
   /* The test values here are confirmed to be correct on a platform
   /* The test values here are confirmed to be correct on a platform
    * with a working timegm. */
    * with a working timegm. */