blob: 408d0e3326179fa41b09e08f7348643e144589b5 [file] [log] [blame]
// This test ensures that when filtering on `import`, `externcrate` items are also displayed.
// It also ensures that the opposite is not true.
const EXPECTED = [
{
'query': 'import:st',
'others': [
{ 'path': 'foo', 'name': 'st', 'href': '../foo/index.html#reexport.st' },
// FIXME: `href` is wrong: <https://github.com/rust-lang/rust/issues/148300>
{ 'path': 'foo', 'name': 'st2', 'href': '../st2/index.html' },
],
},
{
'query': 'externcrate:st',
'others': [
// FIXME: `href` is wrong: <https://github.com/rust-lang/rust/issues/148300>
{ 'path': 'foo', 'name': 'st2', 'href': '../st2/index.html' },
],
},
];