test: update hash unit test
This commit is contained in:
parent
e034a07be8
commit
af4fe92095
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ test_unit(void)
|
|||
if (j >= tests[i].length)
|
||||
TEST_CHECK(length == tests[i].length);
|
||||
else
|
||||
TEST_CHECK(length == 0 || length == j || length == tests[i].length);
|
||||
TEST_CHECK(length == j);
|
||||
|
||||
TEST_CHECK(!memcmp(out, tests[i].out, length));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue