macros: Fix test cfg in macro output
This commit is contained in:
parent
037e37c5e7
commit
83acca397b
@ -101,7 +101,7 @@ pub fn expand_derive_request(input: ItemStruct) -> syn::Result<TokenStream> {
|
||||
#types_impls
|
||||
|
||||
#[allow(deprecated)]
|
||||
#[cfg(tests)]
|
||||
#[cfg(test)]
|
||||
mod __request {
|
||||
#test
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user