summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js/prototype.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-js/prototype.js')
-rw-r--r--tests/rustdoc-js/prototype.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/rustdoc-js/prototype.js b/tests/rustdoc-js/prototype.js
new file mode 100644
index 000000000..2f1d841c3
--- /dev/null
+++ b/tests/rustdoc-js/prototype.js
@@ -0,0 +1,16 @@
+// exact-check
+
+const QUERY = ['constructor', '__proto__'];
+
+const EXPECTED = [
+ {
+ 'others': [],
+ 'returned': [],
+ 'in_args': [],
+ },
+ {
+ 'others': [],
+ 'returned': [],
+ 'in_args': [],
+ },
+];