summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-js/primitive.js
blob: 918f7099918de004fb86493d71b4698ee8fbaf31 (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
// exact-check

const QUERY = [
    "i32",
    "str",
    "TotoIsSomewhere",
];

const EXPECTED = [
    {
        'in_args': [
            { 'path': 'primitive', 'name': 'foo' },
        ],
    },
    {
        'returned': [
            { 'path': 'primitive', 'name': 'foo' },
        ],
    },
    {
        'others': [],
        'in_args': [],
        'returned': [],
    },
];