about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-paths.js
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2023-06-09 16:49:38 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2023-06-09 17:00:47 +0200
commit9803651ee84545f8913b6fe9e76c8bd13603bb6e (patch)
treeb142f6884326782d5ba7bd11757477615e320238 /tests/rustdoc-js-std/parser-paths.js
parent6b0c7c4f01d3e6c90d10847471c7a2256346dd3e (diff)
downloadrust-9803651ee84545f8913b6fe9e76c8bd13603bb6e.tar.gz
rust-9803651ee84545f8913b6fe9e76c8bd13603bb6e.zip
Update rustdoc-js* format
Diffstat (limited to 'tests/rustdoc-js-std/parser-paths.js')
-rw-r--r--tests/rustdoc-js-std/parser-paths.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/rustdoc-js-std/parser-paths.js b/tests/rustdoc-js-std/parser-paths.js
index f3e421f5ffa..8d4dedf3f46 100644
--- a/tests/rustdoc-js-std/parser-paths.js
+++ b/tests/rustdoc-js-std/parser-paths.js
@@ -1,7 +1,6 @@
-const QUERY = ['A::B', 'A::B,C',  'A::B<f>,C', 'mod::a'];
-
 const PARSED = [
     {
+        query: 'A::B',
         elems: [{
             name: "a::b",
             fullPath: ["a", "b"],
@@ -17,6 +16,7 @@ const PARSED = [
         error: null,
     },
     {
+        query: 'A::B,C',
         elems: [
             {
                 name: "a::b",
@@ -42,6 +42,7 @@ const PARSED = [
         error: null,
     },
     {
+        query: 'A::B<f>,C',
         elems: [
             {
                 name: "a::b",
@@ -75,6 +76,7 @@ const PARSED = [
         error: null,
     },
     {
+        query: 'mod::a',
         elems: [{
             name: "mod::a",
             fullPath: ["mod", "a"],