aboutsummaryrefslogtreecommitdiff
path: root/crates/cfg/src/lib.rs
diff options
context:
space:
mode:
authorJonas Schievink <[email protected]>2020-10-23 11:14:58 +0100
committerJonas Schievink <[email protected]>2020-10-23 11:14:58 +0100
commita246d4f599dcf2612fa99720fb4ca98101ed93fb (patch)
tree5972eedd06b94860d1c87a6711766377585a04b5 /crates/cfg/src/lib.rs
parentdab8870f5c6d90ea1a327037825dc87a46778045 (diff)
cfg: move tests to separate file
that way we don't have to re-check the entire project when a test is changed
Diffstat (limited to 'crates/cfg/src/lib.rs')
-rw-r--r--crates/cfg/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/cfg/src/lib.rs b/crates/cfg/src/lib.rs
index 28a40a082..d0e08cf5f 100644
--- a/crates/cfg/src/lib.rs
+++ b/crates/cfg/src/lib.rs
@@ -2,6 +2,8 @@
2 2
3mod cfg_expr; 3mod cfg_expr;
4mod dnf; 4mod dnf;
5#[cfg(test)]
6mod tests;
5 7
6use std::fmt; 8use std::fmt;
7 9