summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js-std/path-ordering.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-js-std/path-ordering.js')
-rw-r--r--tests/rustdoc-js-std/path-ordering.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/rustdoc-js-std/path-ordering.js b/tests/rustdoc-js-std/path-ordering.js
index 7dcdd4023..c3d61d238 100644
--- a/tests/rustdoc-js-std/path-ordering.js
+++ b/tests/rustdoc-js-std/path-ordering.js
@@ -1,7 +1,6 @@
-const QUERY = 'hashset::insert';
-
const EXPECTED = {
- 'others': [
+ 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' },