diff options
Diffstat (limited to 'tests/check_arc.c')
-rw-r--r-- | tests/check_arc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/check_arc.c b/tests/check_arc.c index 9d913dcd..e9e7d382 100644 --- a/tests/check_arc.c +++ b/tests/check_arc.c @@ -87,6 +87,8 @@ static void check_decod(int l) len = arc_decode( decrypt_tests[i].crypted, decrypt_tests[i].len, &decrypted, password ); + fail_if( len == -1, + "`%s' didn't decrypt properly", decrypt_tests[i].decrypted ); fail_if( strcmp( decrypt_tests[i].decrypted, decrypted ) != 0, "`%s' didn't decrypt properly", decrypt_tests[i].decrypted ); |