Fix test 2

This commit is contained in:
Dessalines 2023-02-15 18:10:30 -05:00
parent 407a09e86f
commit db9fd11b08
2 changed files with 2 additions and 0 deletions

View file

@ -32,6 +32,7 @@ pub fn scrape_text_for_mentions(text: &str) -> Vec<MentionData> {
out.into_iter().unique().collect()
}
#[cfg(test)]
mod test {
use crate::utils::mention::scrape_text_for_mentions;

View file

@ -66,6 +66,7 @@ pub(crate) fn slurs_vec_to_str(slurs: &[&str]) -> String {
[start, combined].concat()
}
#[cfg(test)]
mod test {
use crate::utils::slurs::{remove_slurs, slur_check, slurs_vec_to_str};
use regex::RegexBuilder;