pub(crate) fn maybe_add_test_attr(attrs: &[Attribute]) -> TokenStream
Expand description
Add the #[test]
attribute to the test if needed.
This is mainly for those parameterized tests (#[parameterized(...)]
) by
the crate parameterized
, which unconditionally adds #[test]
.