Rollup merge of #133133 - notriddle:notriddle/trailing-test, r=GuillaumeGomez
rustdoc-search: add standalone trailing `::` test Follow up for #132569 r? `@GuillaumeGomez`
This commit is contained in:
commit
8600e579d5
2 changed files with 10 additions and 0 deletions
7
tests/rustdoc-js/trailing.js
Normal file
7
tests/rustdoc-js/trailing.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
// exact-check
|
||||
const EXPECTED = {
|
||||
'query': 'inner::',
|
||||
'others': [
|
||||
{ 'path': 'trailing::inner', 'name': 'function' },
|
||||
],
|
||||
}
|
3
tests/rustdoc-js/trailing.rs
Normal file
3
tests/rustdoc-js/trailing.rs
Normal file
|
@ -0,0 +1,3 @@
|
|||
pub mod inner {
|
||||
pub fn function() {}
|
||||
}
|
Loading…
Add table
Reference in a new issue