Add back the substring test

This commit is contained in:
Guillaume Gomez 2019-04-04 22:28:52 +02:00
parent 2002b4b39a
commit 894142de5d
2 changed files with 29 additions and 0 deletions

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

View 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() {}
}