rustdoc: expand regression test for #146214

This commit is contained in:
binarycat 2025-11-11 11:51:59 -06:00
parent 07072812ca
commit 3ba87c4b33

View file

@ -16,4 +16,17 @@ const EXPECTED = [
{ 'path': 'alias_path_distance::Foo', 'name': 'baz' },
],
},
{
'query': 'Foo::zzzz',
'others': [
{ 'path': 'alias_path_distance::Foo', 'name': 'baz' },
],
},
{
'query': 'zzzz',
'others': [
{ 'path': 'alias_path_distance::Foo', 'name': 'baz' },
{ 'path': 'alias_path_distance::Bar', 'name': 'baz' },
],
},
];