blob: 2a22cffb128f78bc5e450f8515943a247a96eae8 [file]
// This test ensures that imports have lower ranking than other matches,
// even if those matches have shorter names.
const EXPECTED = [
{
'query': 'Eepy',
'others': [
{ 'path': 'zzzzz', 'name': 'Eepy' },
],
},
{
'query': 'zzzzz::Eepy',
'others': [
{ 'path': 'zzzzz', 'name': 'Eepy' },
],
},
{
'query': 'foo::Eepy',
'others': [
{ 'path': 'foo', 'name': 'Eepy' },
],
},
];