about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/vec-new.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-js-std/vec-new.js')
-rw-r--r--tests/rustdoc-js-std/vec-new.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/rustdoc-js-std/vec-new.js b/tests/rustdoc-js-std/vec-new.js
index fc44a566af2..309f3543faf 100644
--- a/tests/rustdoc-js-std/vec-new.js
+++ b/tests/rustdoc-js-std/vec-new.js
@@ -1,6 +1,5 @@
-const QUERY = 'Vec::new';
-
 const EXPECTED = {
+    'query': 'Vec::new',
     'others': [
         { 'path': 'std::vec::Vec', 'name': 'new' },
         { 'path': 'alloc::vec::Vec', 'name': 'new' },