about summary refs log tree commit diff
path: root/tests/rustdoc-js/reexport.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-js/reexport.js')
-rw-r--r--tests/rustdoc-js/reexport.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/rustdoc-js/reexport.js b/tests/rustdoc-js/reexport.js
new file mode 100644
index 00000000000..871e75d9b2b
--- /dev/null
+++ b/tests/rustdoc-js/reexport.js
@@ -0,0 +1,17 @@
+// exact-check
+
+const QUERY = ['Subscriber', 'AnotherOne'];
+
+const EXPECTED = [
+    {
+        'others': [
+            { 'path': 'reexport::fmt', 'name': 'Subscriber' },
+            { 'path': 'reexport', 'name': 'FmtSubscriber' },
+        ],
+    },
+    {
+        'others': [
+            { 'path': 'reexport', 'name': 'AnotherOne' },
+        ],
+    },
+];