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 16:39:44 +00:00
// exact-check
const EXPECTED = [
{
2023-06-09 14:49:38 +00:00
'query': 'i32',
2021-01-30 16:39:44 +00:00
'in_args': [
{ 'path': 'primitive', 'name': 'foo' },
],
},
{
2023-06-09 14:49:38 +00:00
'query': 'str',
2021-01-30 16:39:44 +00:00
'returned': [
{ 'path': 'primitive', 'name': 'foo' },
],
},
{
2023-06-09 14:49:38 +00:00
'query': 'primitive:str',
'returned': [
{ 'path': 'primitive', 'name': 'foo' },
],
},
{
2023-06-09 14:49:38 +00:00
'query': 'struct:str',
'returned': [],
},
2021-01-30 16:39:44 +00:00
{
2023-06-09 14:49:38 +00:00
'query': 'TotoIsSomewhere',
2021-01-30 16:39:44 +00:00
'others': [],
'in_args': [],
'returned': [],
},
];