Files
rust/tests/rustdoc-js/literal-path.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
480 B
JavaScript
Raw Permalink Normal View History

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