about summary refs log tree commit diff
path: root/src/test/rustdoc-js-std/parser-invalid.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc-js-std/parser-invalid.js')
-rw-r--r--src/test/rustdoc-js-std/parser-invalid.js32
1 files changed, 3 insertions, 29 deletions
diff --git a/src/test/rustdoc-js-std/parser-invalid.js b/src/test/rustdoc-js-std/parser-invalid.js
index 024372ef8d5..87ebe21c49b 100644
--- a/src/test/rustdoc-js-std/parser-invalid.js
+++ b/src/test/rustdoc-js-std/parser-invalid.js
@@ -5,7 +5,6 @@ const QUERY = ['a b', 'a   b', 'a,b(c)'];
 
 const PARSED = [
     {
-        args: [],
         elems: [
             {
                 name: "a",
@@ -30,7 +29,6 @@ const PARSED = [
         error: null,
     },
     {
-        args: [],
         elems: [
             {
                 name: "a",
@@ -55,36 +53,12 @@ const PARSED = [
         error: null,
     },
     {
-        args: [
-            {
-                name: "c",
-                fullPath: ["c"],
-                pathWithoutLast: [],
-                pathLast: "c",
-                generics: [],
-            },
-        ],
-        elems: [
-            {
-                name: "a",
-                fullPath: ["a"],
-                pathWithoutLast: [],
-                pathLast: "a",
-                generics: [],
-            },
-            {
-                name: "b",
-                fullPath: ["b"],
-                pathWithoutLast: [],
-                pathLast: "b",
-                generics: [],
-            },
-        ],
-        foundElems: 3,
+        elems: [],
+        foundElems: 0,
         original: "a,b(c)",
         returned: [],
         typeFilter: -1,
         userQuery: "a,b(c)",
-        error: null,
+        error: "Unexpected `(`",
     },
 ];