about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/regex.js
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-01-24 09:49:33 -0700
committerMichael Howell <michael@notriddle.com>2023-01-24 09:49:33 -0700
commit616a0db7d6c4f1c8dd202c06c6cbe919d171edb1 (patch)
treeb4da6fd50faa71ed5438a965b602e5146e675c6e /tests/rustdoc-js-std/regex.js
parent39fd4bb476fe600dccb424c94fce1e270bd7694f (diff)
downloadrust-616a0db7d6c4f1c8dd202c06c6cbe919d171edb1.tar.gz
rust-616a0db7d6c4f1c8dd202c06c6cbe919d171edb1.zip
rustdoc: add test case based on #103357
Diffstat (limited to 'tests/rustdoc-js-std/regex.js')
-rw-r--r--tests/rustdoc-js-std/regex.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/rustdoc-js-std/regex.js b/tests/rustdoc-js-std/regex.js
new file mode 100644
index 00000000000..a6843c595f7
--- /dev/null
+++ b/tests/rustdoc-js-std/regex.js
@@ -0,0 +1,10 @@
+// exact-check
+
+// https://github.com/rust-lang/rust/issues/103357
+const QUERY = 'regex';
+
+const EXPECTED = {
+    'others': [],
+    'in_args': [],
+    'returned': [],
+};