Skip to content

Commit

Permalink
test: Remove unwrap from should_panic test
Browse files Browse the repository at this point in the history
  • Loading branch information
sorairolake committed Jan 24, 2025
1 parent 3ce3678 commit 1fb9ff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/abcrypt/tests/decrypt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ fn success_to_vec() {
fn invalid_output_length() {
let cipher = Decryptor::new(&TEST_DATA_ENC, PASSPHRASE).unwrap();
let mut buf = [u8::default(); TEST_DATA.len() + 1];
cipher.decrypt(&mut buf).unwrap();
cipher.decrypt(&mut buf);
}

#[test]
Expand Down

0 comments on commit 1fb9ff4

Please sign in to comment.