Fix tests in crypto.rs

This commit is contained in:
Malte Meiboom
2026-05-06 12:39:55 +02:00
parent f771d7eef2
commit 9a6de637ea
+1 -2
View File
@@ -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";