diff options
| author | binarycat <binarycat@envs.net> | 2025-09-02 11:41:21 -0500 |
|---|---|---|
| committer | binarycat <binarycat@envs.net> | 2025-10-02 15:28:00 -0500 |
| commit | 2dd00d3391b82dd0928f50589eb37f6fbbe32980 (patch) | |
| tree | 0320eed93f5aa1940b88f16d3cdbbb13fdf627de /tests/rustdoc-js-std/quoted.js | |
| parent | c407d340de1717a88537725c899c153c6fdda051 (diff) | |
| download | rust-2dd00d3391b82dd0928f50589eb37f6fbbe32980.tar.gz rust-2dd00d3391b82dd0928f50589eb37f6fbbe32980.zip | |
fix rustdoc tests broke by trait item filtering
Diffstat (limited to 'tests/rustdoc-js-std/quoted.js')
| -rw-r--r-- | tests/rustdoc-js-std/quoted.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/rustdoc-js-std/quoted.js b/tests/rustdoc-js-std/quoted.js index 8a927501925..a8ca6521208 100644 --- a/tests/rustdoc-js-std/quoted.js +++ b/tests/rustdoc-js-std/quoted.js @@ -1,21 +1,21 @@ +// make sure quoted search works both for items and and without generics // ignore-order const FILTER_CRATE = 'std'; const EXPECTED = { - 'query': '"error"', + 'query': '"result"', 'others': [ - { 'path': 'std', 'name': 'error' }, - { 'path': 'std::fmt', 'name': 'Error' }, - { 'path': 'std::io', 'name': 'Error' }, + { 'path': 'std', 'name': 'result' }, + { 'path': 'std::result', 'name': 'Result' }, + { 'path': 'std::fmt', 'name': 'Result' }, ], 'in_args': [ - { 'path': 'std::fmt::Error', 'name': 'eq' }, - { 'path': 'std::fmt::Error', 'name': 'cmp' }, - { 'path': 'std::fmt::Error', 'name': 'partial_cmp' }, - + { 'path': 'std::result::Result', 'name': 'branch' }, + { 'path': 'std::result::Result', 'name': 'ok' }, + { 'path': 'std::result::Result', 'name': 'unwrap' }, ], 'returned': [ - { 'path': 'std::fmt::LowerExp', 'name': 'fmt' }, + { 'path': 'std::bool', 'name': 'try_into' }, ], }; |
