Skip to content

Commit 1c83da8

Browse files
notriddlecompiler-errors
authored andcommitted
Further clarification
1 parent aa64419 commit 1c83da8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: src/rustdoc-internals/search.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,11 @@ The `.js` file is like a module (except the loader takes care of
380380
`FILTER_CRATE` can be left out (equivalent to searching "all crates"), but you
381381
have to specify `EXPECTED` or `PARSED`.
382382

383-
By default, the test fails if any of the expected results are missing,
384-
or if the results don't appear in the specified order.
383+
384+
385+
By default, the test fails if any of the results specified in the test case are
386+
not found after running the search, or if the results found after running the
387+
search don't appear in the same order that they do in the test.
385388
The actual search results may, however, include results that aren't in the test.
386389
To override this, specify any of the following magic comments.
387390
Put them on their own line, without indenting.

0 commit comments

Comments
 (0)