Remove wrong comments

This commit is contained in:
F. Levi 2024-09-19 09:06:40 +03:00
parent 30aa1f6dea
commit 0ffeea5a52

View File

@ -936,7 +936,6 @@ mod tests {
"\"The groundbreaking invention had the power to split the world\"", "\"The groundbreaking invention had the power to split the world\"",
); );
let mut matcher = builder.build(text, None); let mut matcher = builder.build(text, None);
// should highlight "those" and the phrase "and those".
insta::assert_snapshot!( insta::assert_snapshot!(
matcher.format(format_options), matcher.format(format_options),
@"<em>The groundbreaking invention had the power to split the world</em>…" @"<em>The groundbreaking invention had the power to split the world</em>…"
@ -948,7 +947,6 @@ mod tests {
"\"The groundbreaking invention had the power to split the world between\"", "\"The groundbreaking invention had the power to split the world between\"",
); );
let mut matcher = builder.build(text, None); let mut matcher = builder.build(text, None);
// should highlight "those" and the phrase "and those".
insta::assert_snapshot!( insta::assert_snapshot!(
matcher.format(format_options), matcher.format(format_options),
@"The groundbreaking invention had the power to split the world …" @"The groundbreaking invention had the power to split the world …"
@ -960,7 +958,6 @@ mod tests {
"\"The groundbreaking invention\" \"embraced progress and those who resisted change\"", "\"The groundbreaking invention\" \"embraced progress and those who resisted change\"",
); );
let mut matcher = builder.build(text, None); let mut matcher = builder.build(text, None);
// should highlight "those" and the phrase "and those".
insta::assert_snapshot!( insta::assert_snapshot!(
matcher.format(format_options), matcher.format(format_options),
@"…between those who <em>embraced progress and those who resisted change</em>…" @"…between those who <em>embraced progress and those who resisted change</em>…"