rustdoc-search: give longer notification for type corrections

This commit is contained in:
Michael Howell 2023-04-19 10:16:14 -07:00
parent 4c11822aeb
commit b6f81e0434
2 changed files with 10 additions and 5 deletions

View file

@ -22,7 +22,7 @@ assert-css: (".search-corrections", {
})
assert-text: (
".search-corrections",
"Showing results for \"notablestructwithlongname\"."
"Type \"notablestructwithlongnamr\" not found. Showing results for \"notablestructwithlongname\" instead."
)
// Corrections do get shown on the "In Return Type" tab.
@ -33,7 +33,7 @@ assert-css: (".search-corrections", {
})
assert-text: (
".search-corrections",
"Showing results for \"notablestructwithlongname\"."
"Type \"notablestructwithlongnamr\" not found. Showing results for \"notablestructwithlongname\" instead."
)
// Now, explicit return values
@ -50,5 +50,5 @@ assert-css: (".search-corrections", {
})
assert-text: (
".search-corrections",
"Showing results for \"notablestructwithlongname\"."
"Type \"notablestructwithlongnamr\" not found. Showing results for \"notablestructwithlongname\" instead."
)