Fix tests in crypto.rs
This commit is contained in:
@@ -370,12 +370,11 @@ pub fn encrypt(context: &HuskContext<'_>, body: &Bytes, recipients: &Vec<Recipie
|
||||
|
||||
#[cfg(test)]
|
||||
pub mod tests {
|
||||
use bytes::Bytes;
|
||||
|
||||
#[test]
|
||||
pub fn test_is_encrypted() {
|
||||
|
||||
use crate::crypto::is_encrypted;
|
||||
use super::*;
|
||||
|
||||
// cleartext
|
||||
let body = b"Hello world";
|
||||
|
||||
Reference in New Issue
Block a user