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 = {
|
const EXPECTED = {
|
||||||
'others': [
|
'others': [
|
||||||
{ 'path': 'std', 'name': 'print' },
|
{ 'path': 'std', 'name': 'print' },
|
||||||
{ 'path': 'std', 'name': 'eprint' },
|
|
||||||
{ 'path': 'std', 'name': 'println' },
|
{ 'path': 'std', 'name': 'println' },
|
||||||
|
{ 'path': 'std', 'name': 'eprint' },
|
||||||
{ 'path': 'std', 'name': 'eprintln' },
|
{ 'path': 'std', 'name': 'eprintln' },
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
|
@ -6,8 +6,8 @@ const FILTER_CRATE = 'std';
|
||||||
const EXPECTED = {
|
const EXPECTED = {
|
||||||
'others': [
|
'others': [
|
||||||
{ 'path': 'std', 'name': 'print' },
|
{ 'path': 'std', 'name': 'print' },
|
||||||
{ 'path': 'std', 'name': 'eprint' },
|
|
||||||
{ 'path': 'std', 'name': 'println' },
|
{ 'path': 'std', 'name': 'println' },
|
||||||
|
{ 'path': 'std', 'name': 'eprint' },
|
||||||
{ 'path': 'std', 'name': 'eprintln' },
|
{ 'path': 'std', 'name': 'eprintln' },
|
||||||
{ 'path': 'std::pin', 'name': 'pin' },
|
{ 'path': 'std::pin', 'name': 'pin' },
|
||||||
{ 'path': 'std::future', 'name': 'join' },
|
{ 'path': 'std::future', 'name': 'join' },
|
||||||
|
|
|
@ -3,7 +3,8 @@ const QUERY = 'Vec::new';
|
||||||
const EXPECTED = {
|
const EXPECTED = {
|
||||||
'others': [
|
'others': [
|
||||||
{ 'path': 'std::vec::Vec', 'name': 'new' },
|
{ 'path': 'std::vec::Vec', 'name': 'new' },
|
||||||
{ 'path': 'std::vec::Vec', 'name': 'ne' },
|
{ 'path': 'alloc::vec::Vec', 'name': 'new' },
|
||||||
{ 'path': 'alloc::vec::Vec', 'name': 'ne' },
|
{ 'path': 'std::vec::Vec', 'name': 'new_in' },
|
||||||
|
{ 'path': 'alloc::vec::Vec', 'name': 'new_in' },
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
|
@ -4,7 +4,6 @@ const EXPECTED = {
|
||||||
'others': [
|
'others': [
|
||||||
{ 'path': 'search_short_types', 'name': 'P' },
|
{ 'path': 'search_short_types', 'name': 'P' },
|
||||||
{ 'path': 'search_short_types::VeryLongTypeName', 'name': 'p' },
|
{ 'path': 'search_short_types::VeryLongTypeName', 'name': 'p' },
|
||||||
{ 'path': 'search_short_types', 'name': 'Ap' },
|
{ 'path': 'search_short_types', 'name': 'Pa' },
|
||||||
{ 'path': 'search_short_types::VeryLongTypeName', 'name': 'ap' },
|
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue