diff options
| author | Michael Howell <michael@notriddle.com> | 2022-12-16 13:19:38 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-01-14 12:04:12 -0700 |
| commit | db558b46861ee2f812ee1cc2b03b796f691a246d (patch) | |
| tree | 7524968b0498bf45a37e60f2f68610fe2297ec9d /tests/rustdoc-js-std | |
| parent | 59ba74cacb87ac89f7f5fcb5233eaccb50dd8349 (diff) | |
| download | rust-db558b46861ee2f812ee1cc2b03b796f691a246d.tar.gz rust-db558b46861ee2f812ee1cc2b03b796f691a246d.zip | |
rustdoc: update search test cases
Diffstat (limited to 'tests/rustdoc-js-std')
| -rw-r--r-- | tests/rustdoc-js-std/macro-print.js | 2 | ||||
| -rw-r--r-- | tests/rustdoc-js-std/typed-query.js | 2 | ||||
| -rw-r--r-- | tests/rustdoc-js-std/vec-new.js | 5 |
3 files changed, 5 insertions, 4 deletions
diff --git a/tests/rustdoc-js-std/macro-print.js b/tests/rustdoc-js-std/macro-print.js index 858046e72e9..1b4c7b40570 100644 --- a/tests/rustdoc-js-std/macro-print.js +++ b/tests/rustdoc-js-std/macro-print.js @@ -3,8 +3,8 @@ const QUERY = 'macro:print'; const EXPECTED = { 'others': [ { 'path': 'std', 'name': 'print' }, - { 'path': 'std', 'name': 'eprint' }, { 'path': 'std', 'name': 'println' }, + { 'path': 'std', 'name': 'eprint' }, { 'path': 'std', 'name': 'eprintln' }, ], }; diff --git a/tests/rustdoc-js-std/typed-query.js b/tests/rustdoc-js-std/typed-query.js index 25efbad2695..fd5c5489d79 100644 --- a/tests/rustdoc-js-std/typed-query.js +++ b/tests/rustdoc-js-std/typed-query.js @@ -6,8 +6,8 @@ const FILTER_CRATE = 'std'; const EXPECTED = { 'others': [ { 'path': 'std', 'name': 'print' }, - { 'path': 'std', 'name': 'eprint' }, { 'path': 'std', 'name': 'println' }, + { 'path': 'std', 'name': 'eprint' }, { 'path': 'std', 'name': 'eprintln' }, { 'path': 'std::pin', 'name': 'pin' }, { 'path': 'std::future', 'name': 'join' }, diff --git a/tests/rustdoc-js-std/vec-new.js b/tests/rustdoc-js-std/vec-new.js index cd0e8e7b4a9..fc44a566af2 100644 --- a/tests/rustdoc-js-std/vec-new.js +++ b/tests/rustdoc-js-std/vec-new.js @@ -3,7 +3,8 @@ const QUERY = 'Vec::new'; const EXPECTED = { 'others': [ { 'path': 'std::vec::Vec', 'name': 'new' }, - { 'path': 'std::vec::Vec', 'name': 'ne' }, - { 'path': 'alloc::vec::Vec', 'name': 'ne' }, + { 'path': 'alloc::vec::Vec', 'name': 'new' }, + { 'path': 'std::vec::Vec', 'name': 'new_in' }, + { 'path': 'alloc::vec::Vec', 'name': 'new_in' }, ], }; |
