Formatting

This commit is contained in:
2026-04-19 15:35:10 +02:00
parent 041f9015ca
commit 0d5c2f5888
42 changed files with 612 additions and 357 deletions
+1 -5
View File
@@ -495,10 +495,7 @@ mod tests {
#[test]
fn dict_veto_allows_nonword_rewrite() {
let g = from_entries(&["Cerebrum"]).with_dict(Box::new(HashSetDict::new(&["Kaktus"])));
assert_eq!(
g.replace("Blutung im Zerebrum."),
"Blutung im Cerebrum."
);
assert_eq!(g.replace("Blutung im Zerebrum."), "Blutung im Cerebrum.");
}
/// The exact-match short-circuit runs *before* any dict lookup.
@@ -552,5 +549,4 @@ mod tests {
"inflected form must be recognized via affix expansion"
);
}
}