This commit adds a test case for generics, re-adds generics data
to the search index, and tweaks function indexing to use less space in JSON.
This reverts commit 14ca89446c.
23 lines
481 B
JavaScript
23 lines
481 B
JavaScript
const QUERY = [
|
|
'Result<SomeTrait>',
|
|
'OtherThingxxxxxxxx',
|
|
];
|
|
|
|
const EXPECTED = [
|
|
{
|
|
'in_args': [
|
|
{ 'path': 'generics_trait', 'name': 'beta' },
|
|
],
|
|
'returned': [
|
|
{ 'path': 'generics_trait', 'name': 'bet' },
|
|
],
|
|
},
|
|
{
|
|
'in_args': [
|
|
{ 'path': 'generics_trait', 'name': 'alpha' },
|
|
],
|
|
'returned': [
|
|
{ 'path': 'generics_trait', 'name': 'alef' },
|
|
],
|
|
},
|
|
];
|