Skip to content

Commit

Permalink
Use fully qualified #[test] attribute path (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
alanbriolat committed Sep 29, 2022
1 parent c22709f commit 2c05a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/test-case-macros/src/test_case.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl TestCase {
quote! { let _result = super::#item_name(#(#arg_values),*).await; },
)
} else {
attrs.insert(0, parse_quote! { #[test] });
attrs.insert(0, parse_quote! { #[::core::prelude::v1::test] });
(
TokenStream2::new(),
quote! { let _result = super::#item_name(#(#arg_values),*); },
Expand Down

0 comments on commit 2c05a1b

Please sign in to comment.