Remove checks that cannot fail

This commit is contained in:
Erik Ekman 2012-02-12 10:39:46 +01:00
parent 01416bbca5
commit d9d4c1dba6
2 changed files with 0 additions and 2 deletions

View File

@ -67,7 +67,6 @@ START_TEST(test_base32_decode)
len = sizeof(buf);
val = b32->decode(buf, &len, testpairs[_i].b, strlen(testpairs[_i].b));
fail_unless(buf != NULL, "buf == NULL");
fail_unless(strcmp(buf, testpairs[_i].a) == 0,
"'%s' != '%s'", buf, testpairs[_i].a);
}

View File

@ -93,7 +93,6 @@ START_TEST(test_base64_decode)
len = sizeof(buf);
val = b64->decode(buf, &len, testpairs[_i].b, strlen(testpairs[_i].b));
fail_unless(buf != NULL, "buf == NULL");
fail_unless(strcmp(buf, testpairs[_i].a) == 0,
"'%s' != '%s'", buf, testpairs[_i].a);
}