summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js/generics-nested.js
blob: 294c19490748966c1630f8ea53aabe5098e60ecf (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
// exact-check

const EXPECTED = [
    {
        'query': '-> Out<First<Second>>',
        'others': [
            { 'path': 'generics_nested', 'name': 'alef' },
        ],
    },
    {
        'query': '-> Out<Second<First>>',
        'others': [],
    },
    {
        'query': '-> Out<First, Second>',
        'others': [
            { 'path': 'generics_nested', 'name': 'bet' },
        ],
    },
    {
        'query': '-> Out<Second, First>',
        'others': [
            { 'path': 'generics_nested', 'name': 'bet' },
        ],
    },
];