diff options
| author | Michael Howell <michael@notriddle.com> | 2024-12-26 16:35:29 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2024-12-26 18:31:55 -0700 |
| commit | da1c1c33abe43feb50ebe01b59dade8da4304909 (patch) | |
| tree | 6d327bd98607245cd8425e3c6c9d0b95cbab88be /tests/rustdoc-js-std/path-ordering.js | |
| parent | 16a4ad7d7b0d163f7be6803c786c3b83d42913bb (diff) | |
| download | rust-da1c1c33abe43feb50ebe01b59dade8da4304909.tar.gz rust-da1c1c33abe43feb50ebe01b59dade8da4304909.zip | |
Adjust test for slightly changed inlining behavior
Diffstat (limited to 'tests/rustdoc-js-std/path-ordering.js')
| -rw-r--r-- | tests/rustdoc-js-std/path-ordering.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/rustdoc-js-std/path-ordering.js b/tests/rustdoc-js-std/path-ordering.js index 4bfc6256052..4bec4827d51 100644 --- a/tests/rustdoc-js-std/path-ordering.js +++ b/tests/rustdoc-js-std/path-ordering.js @@ -3,17 +3,17 @@ const EXPECTED = [ query: 'hashset::insert', others: [ // ensure hashset::insert comes first - { 'path': 'std::collections::hash_set::HashSet', 'name': 'insert' }, - { 'path': 'std::collections::hash_set::HashSet', 'name': 'get_or_insert' }, - { 'path': 'std::collections::hash_set::HashSet', 'name': 'get_or_insert_with' }, + { 'path': 'std::collections::HashSet', 'name': 'insert' }, + { 'path': 'std::collections::HashSet', 'name': 'get_or_insert' }, + { 'path': 'std::collections::HashSet', 'name': 'get_or_insert_with' }, ], }, { query: 'hash::insert', others: [ // ensure hashset/hashmap::insert come first - { 'path': 'std::collections::hash_map::HashMap', 'name': 'insert' }, - { 'path': 'std::collections::hash_set::HashSet', 'name': 'insert' }, + { 'path': 'std::collections::HashMap', 'name': 'insert' }, + { 'path': 'std::collections::HashSet', 'name': 'insert' }, ], }, ]; |
