summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js/substring.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-js/substring.js')
-rw-r--r--tests/rustdoc-js/substring.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/rustdoc-js/substring.js b/tests/rustdoc-js/substring.js
new file mode 100644
index 000000000..af05cd1ad
--- /dev/null
+++ b/tests/rustdoc-js/substring.js
@@ -0,0 +1,8 @@
+const QUERY = 'waker_from';
+
+const EXPECTED = {
+ 'others': [
+ { 'path': 'substring::SuperWaker', 'name': 'local_waker_from_nonlocal' },
+ { 'path': 'substring::SuperWakerTask', 'name': 'local_waker_from_nonlocal' },
+ ],
+};