about summary refs log tree commit diff
path: root/src/test/rustdoc-js-std/parser-paths.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc-js-std/parser-paths.js')
-rw-r--r--src/test/rustdoc-js-std/parser-paths.js30
1 files changed, 7 insertions, 23 deletions
diff --git a/src/test/rustdoc-js-std/parser-paths.js b/src/test/rustdoc-js-std/parser-paths.js
index 1bd3bb61dc9..12b7f922b14 100644
--- a/src/test/rustdoc-js-std/parser-paths.js
+++ b/src/test/rustdoc-js-std/parser-paths.js
@@ -1,4 +1,4 @@
-const QUERY = ['A::B', '::A::B', 'A::B::,C',  'A::B::<f>,C'];
+const QUERY = ['A::B', 'A::B,C',  'A::B<f>,C'];
 
 const PARSED = [
     {
@@ -19,25 +19,9 @@ const PARSED = [
     },
     {
         args: [],
-        elems: [{
-            name: "::a::b",
-            fullPath: ["a", "b"],
-            pathWithoutLast: ["a"],
-            pathLast: "b",
-            generics: [],
-        }],
-        foundElems: 1,
-        original: '::A::B',
-        returned: [],
-        typeFilter: -1,
-        userQuery: '::a::b',
-        error: null,
-    },
-    {
-        args: [],
         elems: [
             {
-                name: "a::b::",
+                name: "a::b",
                 fullPath: ["a", "b"],
                 pathWithoutLast: ["a"],
                 pathLast: "b",
@@ -52,17 +36,17 @@ const PARSED = [
             },
         ],
         foundElems: 2,
-        original: 'A::B::,C',
+        original: 'A::B,C',
         returned: [],
         typeFilter: -1,
-        userQuery: 'a::b::,c',
+        userQuery: 'a::b,c',
         error: null,
     },
     {
         args: [],
         elems: [
             {
-                name: "a::b::",
+                name: "a::b",
                 fullPath: ["a", "b"],
                 pathWithoutLast: ["a"],
                 pathLast: "b",
@@ -85,10 +69,10 @@ const PARSED = [
             },
         ],
         foundElems: 2,
-        original: 'A::B::<f>,C',
+        original: 'A::B<f>,C',
         returned: [],
         typeFilter: -1,
-        userQuery: 'a::b::<f>,c',
+        userQuery: 'a::b<f>,c',
         error: null,
     },
 ];