summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js/module-substring.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-js/module-substring.js')
-rw-r--r--tests/rustdoc-js/module-substring.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/rustdoc-js/module-substring.js b/tests/rustdoc-js/module-substring.js
new file mode 100644
index 000000000..a446c39eb
--- /dev/null
+++ b/tests/rustdoc-js/module-substring.js
@@ -0,0 +1,9 @@
+const QUERY = 'ig::pc';
+
+const EXPECTED = {
+ 'others': [
+ { 'path': 'module_substring::Sig', 'name': 'pc' },
+ { 'path': 'module_substring::Si', 'name': 'pc' },
+ { 'path': 'module_substring::Si', 'name': 'pa' },
+ ],
+};