Skip to content

Commit

Permalink
Further clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
notriddle authored and compiler-errors committed Sep 15, 2024
1 parent aa64419 commit 1c83da8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/rustdoc-internals/search.md
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,11 @@ The `.js` file is like a module (except the loader takes care of
`FILTER_CRATE` can be left out (equivalent to searching "all crates"), but you
have to specify `EXPECTED` or `PARSED`.

By default, the test fails if any of the expected results are missing,
or if the results don't appear in the specified order.


By default, the test fails if any of the results specified in the test case are
not found after running the search, or if the results found after running the
search don't appear in the same order that they do in the test.
The actual search results may, however, include results that aren't in the test.
To override this, specify any of the following magic comments.
Put them on their own line, without indenting.
Expand Down

0 comments on commit 1c83da8

Please sign in to comment.