From 616a0db7d6c4f1c8dd202c06c6cbe919d171edb1 Mon Sep 17 00:00:00 2001 From: Michael Howell Date: Tue, 24 Jan 2023 09:49:33 -0700 Subject: rustdoc: add test case based on #103357 --- tests/rustdoc-js-std/regex.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/rustdoc-js-std/regex.js (limited to 'tests/rustdoc-js-std/regex.js') 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': [], +}; -- cgit 1.4.1-3-g733a5