1
Fork 0

Add "vec new" test

This commit is contained in:
Guillaume Gomez 2023-06-12 16:38:44 +02:00
parent b5f8258497
commit 7dc684f173

View file

@ -1,4 +1,5 @@
const EXPECTED = {
const EXPECTED = [
{
'query': 'Vec::new',
'others': [
{ 'path': 'std::vec::Vec', 'name': 'new' },
@ -6,4 +7,14 @@ const EXPECTED = {
{ 'path': 'std::vec::Vec', 'name': 'new_in' },
{ 'path': 'alloc::vec::Vec', 'name': 'new_in' },
],
};
},
{
'query': 'Vec new',
'others': [
{ 'path': 'std::vec::Vec', 'name': 'new' },
{ 'path': 'alloc::vec::Vec', 'name': 'new' },
{ 'path': 'std::vec::Vec', 'name': 'new_in' },
{ 'path': 'alloc::vec::Vec', 'name': 'new_in' },
],
},
];