Update rustdoc-js* format
This commit is contained in:
parent
6b0c7c4f01
commit
9803651ee8
67 changed files with 236 additions and 400 deletions
|
@ -1,33 +1,30 @@
|
|||
// exact-check
|
||||
|
||||
const QUERY = [
|
||||
"i32",
|
||||
"str",
|
||||
"primitive:str",
|
||||
"struct:str",
|
||||
"TotoIsSomewhere",
|
||||
];
|
||||
|
||||
const EXPECTED = [
|
||||
{
|
||||
'query': 'i32',
|
||||
'in_args': [
|
||||
{ 'path': 'primitive', 'name': 'foo' },
|
||||
],
|
||||
},
|
||||
{
|
||||
'query': 'str',
|
||||
'returned': [
|
||||
{ 'path': 'primitive', 'name': 'foo' },
|
||||
],
|
||||
},
|
||||
{
|
||||
'query': 'primitive:str',
|
||||
'returned': [
|
||||
{ 'path': 'primitive', 'name': 'foo' },
|
||||
],
|
||||
},
|
||||
{
|
||||
'query': 'struct:str',
|
||||
'returned': [],
|
||||
},
|
||||
{
|
||||
'query': 'TotoIsSomewhere',
|
||||
'others': [],
|
||||
'in_args': [],
|
||||
'returned': [],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue