mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 10:47:16 +00:00
24 lines
480 B
JavaScript
24 lines
480 B
JavaScript
// exact-check
|
|
|
|
// This test ensures that literal search is always applied on elements of the path.
|
|
|
|
const EXPECTED = [
|
|
{
|
|
'query': '"some::path"',
|
|
'others': [
|
|
{ 'path': 'literal_path::some', 'name': 'Path' },
|
|
],
|
|
},
|
|
{
|
|
'query': '"somea::path"',
|
|
'others': [
|
|
{ 'path': 'literal_path::somea', 'name': 'Path' },
|
|
],
|
|
},
|
|
{
|
|
'query': '"soma::path"',
|
|
'others': [
|
|
],
|
|
},
|
|
];
|