mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-22 21:04:27 +01:00
Remove wrong comments
This commit is contained in:
parent
30aa1f6dea
commit
0ffeea5a52
@ -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>…"
|
||||||
|
Loading…
Reference in New Issue
Block a user