Skip to content

Commit

Permalink
add tests module around generated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vic1707 committed Oct 21, 2024
1 parent 3401f2c commit 750975e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion nutype_macros/src/common/gen/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,11 @@ pub trait GenerateNewtype {
#implementation
#implement_traits

#tests
#[cfg(test)]
mod tests {
use super::*;
#tests
}
}
#reimports
))
Expand Down

0 comments on commit 750975e

Please sign in to comment.