Skip to content

Commit 0bf478e

Browse files
committed
Remove the test cfg
1 parent 761fe45 commit 0bf478e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
### Removed
11+
12+
- Removed the `#[cfg(test)]` attribute from the test module.
13+
1014
## [0.7.0-alpha.3]
1115

1216
### Changed

macros/src/attributes/tests.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ pub(crate) fn expand(args: TokenStream, input: TokenStream) -> TokenStream {
2525

2626
let mod_name = format_ident!("{}", validated_module.module_name);
2727
quote!(
28-
#[cfg(test)]
2928
mod #mod_name {
3029
#(#untouched_tokens)*
3130

0 commit comments

Comments
 (0)