cargo fmt

This commit is contained in:
Loïc Lecrenier
2022-08-04 11:34:10 +02:00
parent 051f24f674
commit 748bb86b5b
3 changed files with 8 additions and 6 deletions

View File

@ -574,10 +574,10 @@ mod tests {
let mut matcher = builder.build(text);
// no crop should return complete text with highlighted matches.
insta::assert_snapshot!(
matcher.format(format_options),
matcher.format(format_options),
@"Natalie risk her future to build a <em>world</em> with <em>the</em> boy she loves. Emily Henry: <em>The</em> Love That <em>Split</em> <em>The</em> <em>World</em>."
);
// Text containing some matches.
let text = "Natalie risk her future to build a world with the boy she loves.";
let mut matcher = builder.build(text);