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 13:18:45 -06:00
// ignore-tidy-linelength
2020-11-23 22:33:41 -06:00
2020-11-24 13:18:45 -06:00
const EXPECTED = [
{
2023-06-09 09:49:38 -05:00
'query': 'summaries',
2020-11-24 13:18:45 -06: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 13:18:45 -06:00
],
},
{
2023-06-09 09:49:38 -05:00
'query': 'summaries::Sidebar',
2020-11-24 13:18:45 -06:00
'others': [
{ 'path': 'summaries', 'name': 'Sidebar', 'desc': 'This <code>code</code> will be rendered in a code tag.' },
],
},
{
2023-06-09 09:49:38 -05:00
'query': 'summaries::Sidebar2',
2020-11-24 13:18:45 -06:00
'others': [
{ 'path': 'summaries', 'name': 'Sidebar2', 'desc': '' },
],
},
];