Skip to content

Commit

Permalink
Add test to ensure the result descripton is correctly handling codebl…
Browse files Browse the repository at this point in the history
…ocks
  • Loading branch information
GuillaumeGomez committed Jun 7, 2021
1 parent 4ca7a11 commit 314ef59
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/rustdoc-gui/search-result-description.goml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// This test is to ensure that the codeblocks are correctly rendered in the search results.
goto: file://|DOC_PATH|/test_docs/index.html?search=some_more_function
// Waiting for the search results to appear...
wait-for: "#titles"
assert: (".search-results .desc code", "format!")

0 comments on commit 314ef59

Please sign in to comment.