rust/tests/rustdoc-js/generics-multi-trait.js

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

30 lines
707 B
JavaScript
Raw Normal View History

// exact-check
const EXPECTED = [
// check one of the generic items
{
2023-06-09 09:49:38 -05:00
'query': 'Result<SomeTrait>',
'in_args': [
{ 'path': 'generics_multi_trait', 'name': 'beta' },
],
'returned': [
{ 'path': 'generics_multi_trait', 'name': 'bet' },
],
},
{
2023-06-09 09:49:38 -05:00
'query': 'Zzzzzzzzzzzzzzzzzz',
'in_args': [
{ 'path': 'generics_multi_trait', 'name': 'beta' },
],
'returned': [
{ 'path': 'generics_multi_trait', 'name': 'bet' },
],
},
// ignore the name of the generic itself
{
2023-06-09 09:49:38 -05:00
'query': 'Nonononononononono',
'in_args': [],
'returned': [],
},
];