rust/tests/rustdoc-js/summaries.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
632 B
JavaScript
Raw Normal View History

2020-11-24 19:18:45 +00:00
// ignore-tidy-linelength
2020-11-24 04:33:41 +00:00
2020-11-24 19:18:45 +00:00
const EXPECTED = [
{
2023-06-09 14:49:38 +00:00
'query': 'summaries',
2020-11-24 19:18:45 +00:00
'others': [
{ 'path': '', 'name': 'summaries', 'desc': 'This <em>summary</em> has a link, [<code>code</code>], and <code>Sidebar2</code> intra-doc.' },
2020-11-24 19:18:45 +00:00
],
},
{
2023-06-09 14:49:38 +00:00
'query': 'summaries::Sidebar',
2020-11-24 19:18:45 +00:00
'others': [
{ 'path': 'summaries', 'name': 'Sidebar', 'desc': 'This <code>code</code> will be rendered in a code tag.' },
],
},
{
2023-06-09 14:49:38 +00:00
'query': 'summaries::Sidebar2',
2020-11-24 19:18:45 +00:00
'others': [
{ 'path': 'summaries', 'name': 'Sidebar2', 'desc': '' },
],
},
];