summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js/summaries.js
blob: dfb11e80414c1abc686766ad6575e1cc3fe20620 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// ignore-tidy-linelength

const QUERY = ['summaries', 'summaries::Sidebar', 'summaries::Sidebar2'];

const EXPECTED = [
    {
        'others': [
           { 'path': '', 'name': 'summaries', 'desc': 'This <em>summary</em> has a link, [<code>code</code>], and <code>Sidebar2</code> intra-doc.' },
        ],
    },
    {
        'others': [
            { 'path': 'summaries', 'name': 'Sidebar', 'desc': 'This <code>code</code> will be rendered in a code tag.' },
        ],
    },
    {
        'others': [
            { 'path': 'summaries', 'name': 'Sidebar2', 'desc': '' },
        ],
    },
];