rustdoc: search by macro when query ends with !

Related to #96399
This commit is contained in:
Michael Howell 2023-02-16 15:32:38 -07:00
parent c5d1b3ea96
commit 4de9c6d491
6 changed files with 132 additions and 23 deletions

View file

@ -0,0 +1,10 @@
// exact-check
const QUERY = 'abracadabra!';
const EXPECTED = {
'others': [
{ 'path': 'macro_search', 'name': 'abracadabra' },
{ 'path': 'macro_search', 'name': 'abracadabra_b' },
],
};