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

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

41 lines
963 B
JavaScript
Raw Normal View History

// exact-check
const EXPECTED = [
{
2023-06-09 09:49:38 -05:00
'query': 'Result<SomeTrait>',
'correction': null,
'in_args': [
{ 'path': 'generics_trait', 'name': 'beta' },
],
'returned': [
{ 'path': 'generics_trait', 'name': 'bet' },
],
},
{
2023-06-09 09:49:38 -05:00
'query': 'Result<SomeTraiz>',
'correction': null,
'in_args': [],
'returned': [],
},
{
2023-06-09 09:49:38 -05:00
'query': 'OtherThingxxxxxxxx',
'correction': null,
'in_args': [
{ 'path': 'generics_trait', 'name': 'alpha' },
],
'returned': [
{ 'path': 'generics_trait', 'name': 'alef' },
],
},
{
2023-06-09 09:49:38 -05:00
'query': 'OtherThingxxxxxxxy',
'correction': 'OtherThingxxxxxxxx',
'in_args': [
{ 'path': 'generics_trait', 'name': 'alpha' },
],
'returned': [
{ 'path': 'generics_trait', 'name': 'alef' },
],
},
];