diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-06-09 16:49:38 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-06-09 17:00:47 +0200 |
| commit | 9803651ee84545f8913b6fe9e76c8bd13603bb6e (patch) | |
| tree | b142f6884326782d5ba7bd11757477615e320238 /tests/rustdoc-js-std/primitive.js | |
| parent | 6b0c7c4f01d3e6c90d10847471c7a2256346dd3e (diff) | |
| download | rust-9803651ee84545f8913b6fe9e76c8bd13603bb6e.tar.gz rust-9803651ee84545f8913b6fe9e76c8bd13603bb6e.zip | |
Update rustdoc-js* format
Diffstat (limited to 'tests/rustdoc-js-std/primitive.js')
| -rw-r--r-- | tests/rustdoc-js-std/primitive.js | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/tests/rustdoc-js-std/primitive.js b/tests/rustdoc-js-std/primitive.js index e5690383e4f..737e429bf55 100644 --- a/tests/rustdoc-js-std/primitive.js +++ b/tests/rustdoc-js-std/primitive.js @@ -1,15 +1,6 @@ -const QUERY = [ - 'i8', - 'u32', - 'str', - 'char', - 'unit', - 'tuple', - 'fn', -]; - const EXPECTED = [ { + 'query': 'i8', 'others': [ { 'path': 'std', @@ -19,6 +10,7 @@ const EXPECTED = [ ] }, { + 'query': 'u32', 'others': [ { 'path': 'std', @@ -28,6 +20,7 @@ const EXPECTED = [ ] }, { + 'query': 'str', 'others': [ { 'path': 'std', @@ -37,6 +30,7 @@ const EXPECTED = [ ] }, { + 'query': 'char', 'others': [ { 'path': 'std', @@ -46,6 +40,7 @@ const EXPECTED = [ ] }, { + 'query': 'unit', 'others': [ { 'path': 'std', @@ -55,6 +50,7 @@ const EXPECTED = [ ] }, { + 'query': 'tuple', 'others': [ { 'path': 'std', @@ -64,6 +60,7 @@ const EXPECTED = [ ] }, { + 'query': 'fn', 'others': [ { 'path': 'std', |
