summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js/trait-methods.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-js/trait-methods.js')
-rw-r--r--tests/rustdoc-js/trait-methods.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/rustdoc-js/trait-methods.js b/tests/rustdoc-js/trait-methods.js
new file mode 100644
index 000000000..dafad5e43
--- /dev/null
+++ b/tests/rustdoc-js/trait-methods.js
@@ -0,0 +1,12 @@
+// exact-check
+
+const EXPECTED = [
+ {
+ 'query': 'mytrait<t> -> option<t>',
+ 'correction': null,
+ 'in_args': [],
+ 'others': [
+ { 'path': 'trait_methods::MyTrait', 'name': 'next' },
+ ],
+ },
+];