gate a test behind the required feature

This commit is contained in:
Tamo 2024-05-07 16:37:34 +02:00
parent c22460045c
commit 4e4a1ddff7

View File

@ -3260,6 +3260,7 @@ mod tests {
} }
#[test] #[test]
#[cfg(feature = "all-tokenizations")]
fn stored_detected_script_and_language_should_not_return_deleted_documents() { fn stored_detected_script_and_language_should_not_return_deleted_documents() {
use charabia::{Language, Script}; use charabia::{Language, Script};
let index = TempIndex::new(); let index = TempIndex::new();