diff --git a/src/crypto/chacha.rs b/src/crypto/chacha.rs index 0ae736b..3477457 100644 --- a/src/crypto/chacha.rs +++ b/src/crypto/chacha.rs @@ -58,7 +58,7 @@ mod tests { let bytes2 = chacha2.decrypt(&bytes1).unwrap(); assert_eq!(String::from_utf8(bytes2).unwrap(), "TEST"); - let bytes2 = chacha2.encrypt(b"TEST"); + let bytes2 = chacha2.encrypt(b"TEST").unwrap(); assert_eq!(bytes1, bytes2); }