summary refs log tree commit diff
path: root/tests/rustdoc-js-std/doc-alias-use.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-js-std/doc-alias-use.js')
-rw-r--r--tests/rustdoc-js-std/doc-alias-use.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/rustdoc-js-std/doc-alias-use.js b/tests/rustdoc-js-std/doc-alias-use.js
new file mode 100644
index 00000000000..e08d94533a9
--- /dev/null
+++ b/tests/rustdoc-js-std/doc-alias-use.js
@@ -0,0 +1,12 @@
+// AsciiChar has a doc alias on its reexport and we
+// want to make sure that actually works correctly,
+// since apperently there are no other tests for this.
+
+const EXPECTED = [
+    {
+        'query': 'AsciiChar',
+        'others': [
+            { 'path': 'core::ascii', 'name': 'Char' },
+        ],
+    },
+];