about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/vec-new.js
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-12-16 13:19:38 -0700
committerMichael Howell <michael@notriddle.com>2023-01-14 12:04:12 -0700
commitdb558b46861ee2f812ee1cc2b03b796f691a246d (patch)
tree7524968b0498bf45a37e60f2f68610fe2297ec9d /tests/rustdoc-js-std/vec-new.js
parent59ba74cacb87ac89f7f5fcb5233eaccb50dd8349 (diff)
downloadrust-db558b46861ee2f812ee1cc2b03b796f691a246d.tar.gz
rust-db558b46861ee2f812ee1cc2b03b796f691a246d.zip
rustdoc: update search test cases
Diffstat (limited to 'tests/rustdoc-js-std/vec-new.js')
-rw-r--r--tests/rustdoc-js-std/vec-new.js5
1 files changed, 3 insertions, 2 deletions
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' },
     ],
 };