Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix destination parameter when asking for a route in ws_get_route
[simgrid.git] / src / xbt / xbt_sha.c
index 29016d9f2dde4a39abd1827f32d8146e379d88aa..f74500a8daff61229d63023eefcd8456d86cfd37 100644 (file)
@@ -195,8 +195,8 @@ static void test_sha(const char *clear, const char *hashed)
   char hash[41];
   xbt_sha(clear, hash);
 
-  xbt_test_add1("==== Test with '%s'", clear);
-  xbt_test_assert3(!memcmp(hash, hashed, 40), "Wrong sha: %40s!=%40s (%s)",
+  xbt_test_add("==== Test with '%s'", clear);
+  xbt_test_assert(!memcmp(hash, hashed, 40), "Wrong sha: %40s!=%40s (%s)",
                    hash, hashed, mycmp(hash, hashed, 40));
 }