summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js-std/full-path-function.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/rustdoc-js-std/full-path-function.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/rustdoc-js-std/full-path-function.js b/tests/rustdoc-js-std/full-path-function.js
new file mode 100644
index 000000000..ac157b3aa
--- /dev/null
+++ b/tests/rustdoc-js-std/full-path-function.js
@@ -0,0 +1,7 @@
+const EXPECTED = {
+ 'query': 'vec::vec -> usize',
+ 'others': [
+ { 'path': 'std::vec::Vec', 'name': 'len' },
+ { 'path': 'std::vec::Vec', 'name': 'capacity' },
+ ],
+};