summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js/where-clause.js
blob: 8dccf197be06017f5ec2df7e4613b79e95ac31e3 (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
31
32
33
const EXPECTED = [
    {
        'query': 'trait<nested>',
        'in_args': [
           { 'path': 'where_clause', 'name': 'abracadabra' },
        ],
    },
    {
        'query': '-> trait<nested>',
        'others': [
            { 'path': 'where_clause', 'name': 'alacazam' },
        ],
    },
    {
        'query': 't1, t2',
        'others': [
            { 'path': 'where_clause', 'name': 'presto' },
        ],
    },
    {
        'query': '-> shazam',
        'others': [
            { 'path': 'where_clause', 'name': 'bippety' },
            { 'path': 'where_clause::Drizzel', 'name': 'boppety' },
        ],
    },
    {
        'query': 'drizzel -> shazam',
        'others': [
            { 'path': 'where_clause::Drizzel', 'name': 'boppety' },
        ],
    },
];