Add regression test for including derive macros in macro filtering

This commit is contained in:
Guillaume Gomez
2025-10-27 16:00:32 +01:00
parent 857a18735f
commit 52c99e6d0d

View 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' },
],
};