summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js/macro-search.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-js/macro-search.js')
-rw-r--r--tests/rustdoc-js/macro-search.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/rustdoc-js/macro-search.js b/tests/rustdoc-js/macro-search.js
new file mode 100644
index 000000000..2b179ce14
--- /dev/null
+++ b/tests/rustdoc-js/macro-search.js
@@ -0,0 +1,10 @@
+// exact-check
+
+const QUERY = 'abracadabra!';
+
+const EXPECTED = {
+ 'others': [
+ { 'path': 'macro_search', 'name': 'abracadabra' },
+ { 'path': 'macro_search', 'name': 'abracadabra_b' },
+ ],
+};