Skip #[test_case] expansion

This commit is contained in:
David Richey 2024-10-09 19:34:08 -05:00
parent 7692c82e0b
commit 3d6acb3d60
2 changed files with 5 additions and 2 deletions

View file

@ -51,6 +51,9 @@ impl BuiltinAttrExpander {
pub fn is_bench(self) -> bool {
matches!(self, BuiltinAttrExpander::Bench)
}
pub fn is_test_case(self) -> bool {
matches!(self, BuiltinAttrExpander::TestCase)
}
}
register_builtin! {