Add back the substring test
This commit is contained in:
parent
2002b4b39a
commit
894142de5d
8
src/test/rustdoc-js/substring.js
Normal file
8
src/test/rustdoc-js/substring.js
Normal file
@ -0,0 +1,8 @@
|
||||
const QUERY = 'waker_from';
|
||||
|
||||
const EXPECTED = {
|
||||
'others': [
|
||||
{ 'path': 'substring::SuperWaker', 'name': 'local_waker_from_nonlocal' },
|
||||
{ 'path': 'substring::SuperWakerTask', 'name': 'local_waker_from_nonlocal' },
|
||||
],
|
||||
};
|
21
src/test/rustdoc-js/substring.rs
Normal file
21
src/test/rustdoc-js/substring.rs
Normal file
@ -0,0 +1,21 @@
|
||||
pub struct SuperWaker;
|
||||
|
||||
impl SuperWaker {
|
||||
pub fn local_waker_from_nonlocal() {}
|
||||
pub fn local_waker_frm_nonlocal() {}
|
||||
pub fn some_method() {}
|
||||
pub fn some_other_method() {}
|
||||
pub fn waker_non_local() {}
|
||||
pub fn from_non_local() {}
|
||||
}
|
||||
|
||||
pub struct SuperWakerTask;
|
||||
|
||||
impl SuperWakerTask {
|
||||
pub fn local_waker_from_nonlocal() {}
|
||||
pub fn local_waker_frm_nonlocal() {}
|
||||
pub fn some_method() {}
|
||||
pub fn some_other_method() {}
|
||||
pub fn waker_non_local() {}
|
||||
pub fn from_non_local() {}
|
||||
}
|
Loading…
Reference in New Issue
Block a user