rustdoc: update search test cases
This commit is contained in:
parent
59ba74cacb
commit
db558b4686
4 changed files with 6 additions and 6 deletions
|
@ -3,8 +3,8 @@ const QUERY = 'macro:print';
|
|||
const EXPECTED = {
|
||||
'others': [
|
||||
{ 'path': 'std', 'name': 'print' },
|
||||
{ 'path': 'std', 'name': 'eprint' },
|
||||
{ 'path': 'std', 'name': 'println' },
|
||||
{ 'path': 'std', 'name': 'eprint' },
|
||||
{ 'path': 'std', 'name': 'eprintln' },
|
||||
],
|
||||
};
|
||||
|
|
|
@ -6,8 +6,8 @@ const FILTER_CRATE = 'std';
|
|||
const EXPECTED = {
|
||||
'others': [
|
||||
{ 'path': 'std', 'name': 'print' },
|
||||
{ 'path': 'std', 'name': 'eprint' },
|
||||
{ 'path': 'std', 'name': 'println' },
|
||||
{ 'path': 'std', 'name': 'eprint' },
|
||||
{ 'path': 'std', 'name': 'eprintln' },
|
||||
{ 'path': 'std::pin', 'name': 'pin' },
|
||||
{ 'path': 'std::future', 'name': 'join' },
|
||||
|
|
|
@ -3,7 +3,8 @@ const QUERY = 'Vec::new';
|
|||
const EXPECTED = {
|
||||
'others': [
|
||||
{ 'path': 'std::vec::Vec', 'name': 'new' },
|
||||
{ 'path': 'std::vec::Vec', 'name': 'ne' },
|
||||
{ 'path': 'alloc::vec::Vec', 'name': 'ne' },
|
||||
{ 'path': 'alloc::vec::Vec', 'name': 'new' },
|
||||
{ 'path': 'std::vec::Vec', 'name': 'new_in' },
|
||||
{ 'path': 'alloc::vec::Vec', 'name': 'new_in' },
|
||||
],
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue