Skip to content

Commit a9a90d4

Browse files
committed
Add test case for hashset::insert ranking
1 parent 360d6e4 commit a9a90d4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
const QUERY = 'hashset::insert';
2+
3+
const EXPECTED = {
4+
'others': [
5+
// ensure hashset::insert comes first
6+
{ 'path': 'std::collections::hash_set::HashSet', 'name': 'insert' },
7+
{ 'path': 'std::collections::hash_set::HashSet', 'name': 'get_or_insert' },
8+
{ 'path': 'std::collections::hash_set::HashSet', 'name': 'get_or_insert_with' },
9+
{ 'path': 'std::collections::hash_set::HashSet', 'name': 'get_or_insert_owned' },
10+
{ 'path': 'std::collections::hash_map::HashMap', 'name': 'insert' },
11+
],
12+
};

0 commit comments

Comments
 (0)