summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js/where-clause.js
blob: 86254a80e20f3623ac14e93bbba366cc4342bbde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
const QUERY = ['trait<nested>', '-> trait<nested>', 't1, t2', '-> shazam', 'drizzel -> shazam'];

const EXPECTED = [
    {
        'in_args': [
           { 'path': 'where_clause', 'name': 'abracadabra' },
        ],
    },
    {
        'others': [
            { 'path': 'where_clause', 'name': 'alacazam' },
        ],
    },
    {
        'others': [
            { 'path': 'where_clause', 'name': 'presto' },
        ],
    },
    {
        'others': [
            { 'path': 'where_clause', 'name': 'bippety' },
            { 'path': 'where_clause::Drizzel', 'name': 'boppety' },
        ],
    },
    {
        'others': [
            { 'path': 'where_clause::Drizzel', 'name': 'boppety' },
        ],
    },
];