Add regression test for including derive macros in macro filtering
This commit is contained in:
9
tests/rustdoc-js-std/filter-macro-attr-derive.js
Normal file
9
tests/rustdoc-js-std/filter-macro-attr-derive.js
Normal file
@@ -0,0 +1,9 @@
|
||||
// This test ensures that filtering on "macro" will also include attribute and derive
|
||||
// macros.
|
||||
|
||||
const EXPECTED = {
|
||||
'query': 'macro:debug',
|
||||
'others': [
|
||||
{ 'path': 'std::fmt', 'name': 'Debug', 'href': '../std/fmt/derive.Debug.html' },
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user