diff options
author | Tilmann Meyer <allescrafterx@gmail.com> | 2020-08-07 21:13:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-07 15:13:12 -0400 |
commit | 88b603be38aa623705e56e572eb174ae4d94107c (patch) | |
tree | 05033ec2adf013a55d3836a3f739e856880b5055 /src/lib.rs | |
parent | 8b0f589486e617c4fd52d870839a94d6e78f7379 (diff) |
test: introduce env variable mocking (#1490)
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs index 7621ecd4e..0b98721b0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,3 @@ -#[macro_use] -extern crate pest_derive; - // Lib is present to allow for benchmarking pub mod config; pub mod configs; @@ -11,3 +8,6 @@ pub mod modules; pub mod print; pub mod segment; mod utils; + +#[cfg(test)] +mod test; |