rust/tests/rustdoc-js/primitive.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
599 B
JavaScript
Raw Normal View History

2021-01-30 10:39:44 -06:00
// exact-check
const EXPECTED = [
{
2023-06-09 09:49:38 -05:00
'query': 'i32',
2021-01-30 10:39:44 -06:00
'in_args': [
{ 'path': 'primitive', 'name': 'foo' },
],
},
{
2023-06-09 09:49:38 -05:00
'query': 'str',
2021-01-30 10:39:44 -06:00
'returned': [
{ 'path': 'primitive', 'name': 'foo' },
],
},
{
2023-06-09 09:49:38 -05:00
'query': 'primitive:str',
'returned': [
{ 'path': 'primitive', 'name': 'foo' },
],
},
{
2023-06-09 09:49:38 -05:00
'query': 'struct:str',
'returned': [],
},
2021-01-30 10:39:44 -06:00
{
2023-06-09 09:49:38 -05:00
'query': 'TotoIsSomewhere',
2021-01-30 10:39:44 -06:00
'others': [],
'in_args': [],
'returned': [],
},
];