about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-01-21 00:11:08 -0700
committerMichael Howell <michael@notriddle.com>2023-01-21 00:11:39 -0700
commit39fd4bb476fe600dccb424c94fce1e270bd7694f (patch)
tree39dd0c6cb76a00d25e05a4ee1c38ca0403469da3
parent8211760b9188d3d008e1e1c0cc27292dde3eb162 (diff)
downloadrust-39fd4bb476fe600dccb424c94fce1e270bd7694f.tar.gz
rust-39fd4bb476fe600dccb424c94fce1e270bd7694f.zip
rustdoc: update test cases to match with stricter match criteria
-rw-r--r--tests/rustdoc-js-std/typed-query.js1
-rw-r--r--tests/rustdoc-js/module-substring.js1
2 files changed, 0 insertions, 2 deletions
diff --git a/tests/rustdoc-js-std/typed-query.js b/tests/rustdoc-js-std/typed-query.js
index 9d7e73a7999..eeb3e188869 100644
--- a/tests/rustdoc-js-std/typed-query.js
+++ b/tests/rustdoc-js-std/typed-query.js
@@ -9,6 +9,5 @@ const EXPECTED = {
         { 'path': 'std', 'name': 'println' },
         { 'path': 'std', 'name': 'eprint' },
         { 'path': 'std', 'name': 'eprintln' },
-        { 'path': 'std::pin', 'name': 'pin' },
     ],
 };
diff --git a/tests/rustdoc-js/module-substring.js b/tests/rustdoc-js/module-substring.js
index a446c39ebad..f17a97f13dc 100644
--- a/tests/rustdoc-js/module-substring.js
+++ b/tests/rustdoc-js/module-substring.js
@@ -4,6 +4,5 @@ const EXPECTED = {
     'others': [
         { 'path': 'module_substring::Sig', 'name': 'pc' },
         { 'path': 'module_substring::Si', 'name': 'pc' },
-        { 'path': 'module_substring::Si', 'name': 'pa' },
     ],
 };