rust/tests/rustdoc-js/literal-path.js
2025-09-11 18:05:21 +02:00

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': [
],
},
];