about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-separators.js
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2024-09-24 12:33:09 -0700
committerMichael Howell <michael@notriddle.com>2024-10-30 10:35:38 -0700
commit5c7e7dfe10acde559ad78a700dfefbfaf0ed8772 (patch)
tree9387dafcd4a03fa3d6a6dd6dab7aea8a9d79ceaf /tests/rustdoc-js-std/parser-separators.js
parent2cc1c0c39a481be5a4498dbee4f89a479dabd9c9 (diff)
downloadrust-5c7e7dfe10acde559ad78a700dfefbfaf0ed8772.tar.gz
rust-5c7e7dfe10acde559ad78a700dfefbfaf0ed8772.zip
rustdoc-search: pass original names through AST
Diffstat (limited to 'tests/rustdoc-js-std/parser-separators.js')
-rw-r--r--tests/rustdoc-js-std/parser-separators.js24
1 files changed, 8 insertions, 16 deletions
diff --git a/tests/rustdoc-js-std/parser-separators.js b/tests/rustdoc-js-std/parser-separators.js
index 7f95f61b006..cf271c80cdc 100644
--- a/tests/rustdoc-js-std/parser-separators.js
+++ b/tests/rustdoc-js-std/parser-separators.js
@@ -14,9 +14,8 @@ const PARSED = [
             },
         ],
         foundElems: 1,
-        original: "aaaaaa b",
-        returned: [],
         userQuery: "aaaaaa b",
+        returned: [],
         error: null,
     },
     {
@@ -40,9 +39,8 @@ const PARSED = [
             },
         ],
         foundElems: 2,
-        original: "aaaaaa, b",
-        returned: [],
         userQuery: "aaaaaa, b",
+        returned: [],
         error: null,
     },
     {
@@ -58,9 +56,8 @@ const PARSED = [
             },
         ],
         foundElems: 1,
-        original: "a b",
-        returned: [],
         userQuery: "a b",
+        returned: [],
         error: null,
     },
     {
@@ -84,9 +81,8 @@ const PARSED = [
             },
         ],
         foundElems: 2,
-        original: "a,b",
-        returned: [],
         userQuery: "a,b",
+        returned: [],
         error: null,
     },
     {
@@ -102,9 +98,8 @@ const PARSED = [
             },
         ],
         foundElems: 1,
-        original: "a b",
-        returned: [],
         userQuery: "a b",
+        returned: [],
         error: null,
     },
     {
@@ -128,9 +123,8 @@ const PARSED = [
             },
         ],
         foundElems: 1,
-        original: "a<b c>",
-        returned: [],
         userQuery: "a<b c>",
+        returned: [],
         error: null,
     },
     {
@@ -161,9 +155,8 @@ const PARSED = [
             },
         ],
         foundElems: 1,
-        original: "a<b,c>",
-        returned: [],
         userQuery: "a<b,c>",
+        returned: [],
         error: null,
     },
     {
@@ -187,9 +180,8 @@ const PARSED = [
             },
         ],
         foundElems: 1,
-        original: "a<b c>",
-        returned: [],
         userQuery: "a<b c>",
+        returned: [],
         error: null,
     },
 ];