Formatting
This commit is contained in:
@@ -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"
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user