use super::*; use pretty_assertions::assert_eq; const PROFILE: RewriteProfile = RewriteProfile::new("SOURCE.md", &["source agent"]) .with_case_sensitive_term_variants(&["Source"]); #[test] fn rewrites_terms_only_at_word_boundaries() { assert_eq!( PROFILE.rewrite("SOURCE.md Source source agent source_agent"), "AGENTS.md Codex Codex source_agent" ); }