mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-29 00:25:28 +03:00
Remove checks that cannot fail
This commit is contained in:
parent
01416bbca5
commit
d9d4c1dba6
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user