about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-separators.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-separators.js
parent6b0c7c4f01d3e6c90d10847471c7a2256346dd3e (diff)
downloadrust-9803651ee84545f8913b6fe9e76c8bd13603bb6e.tar.gz
rust-9803651ee84545f8913b6fe9e76c8bd13603bb6e.zip
Update rustdoc-js* format
Diffstat (limited to 'tests/rustdoc-js-std/parser-separators.js')
-rw-r--r--tests/rustdoc-js-std/parser-separators.js17
1 files changed, 7 insertions, 10 deletions
diff --git a/tests/rustdoc-js-std/parser-separators.js b/tests/rustdoc-js-std/parser-separators.js
index fc8c5114c4e..69f9ac29ad3 100644
--- a/tests/rustdoc-js-std/parser-separators.js
+++ b/tests/rustdoc-js-std/parser-separators.js
@@ -1,17 +1,8 @@
 // ignore-tidy-tab
 
-const QUERY = [
-    'aaaaaa	b',
-    'a b',
-    'a,b',
-    'a\tb',
-    'a<b c>',
-    'a<b,c>',
-    'a<b\tc>',
-];
-
 const PARSED = [
     {
+        query: 'aaaaaa	b',
         elems: [
             {
                 name: 'aaaaaa',
@@ -37,6 +28,7 @@ const PARSED = [
         error: null,
     },
     {
+        query: 'a b',
         elems: [
             {
                 name: 'a',
@@ -62,6 +54,7 @@ const PARSED = [
         error: null,
     },
     {
+        query: 'a,b',
         elems: [
             {
                 name: 'a',
@@ -87,6 +80,7 @@ const PARSED = [
         error: null,
     },
     {
+        query: 'a\tb',
         elems: [
             {
                 name: 'a',
@@ -112,6 +106,7 @@ const PARSED = [
         error: null,
     },
     {
+        query: 'a<b c>',
         elems: [
             {
                 name: 'a',
@@ -144,6 +139,7 @@ const PARSED = [
         error: null,
     },
     {
+        query: 'a<b,c>',
         elems: [
             {
                 name: 'a',
@@ -176,6 +172,7 @@ const PARSED = [
         error: null,
     },
     {
+        query: 'a<b\tc>',
         elems: [
             {
                 name: 'a',