diff options
author | gfreezy <[email protected]> | 2018-12-21 14:45:38 +0000 |
---|---|---|
committer | gfreezy <[email protected]> | 2018-12-21 14:45:38 +0000 |
commit | 66d15bb2dafefe74c34e636ceb242f056f7b43dc (patch) | |
tree | cdaea58de714ecc34a2d2c6f0d165d1b92233a53 /crates/ra_db | |
parent | 77eaa208ed2f423572fbeb8096f8c180d22c78fd (diff) |
add #[cfg(test)]
Diffstat (limited to 'crates/ra_db')
-rw-r--r-- | crates/ra_db/src/input.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ra_db/src/input.rs b/crates/ra_db/src/input.rs index f6d11844a..ee4de6fa9 100644 --- a/crates/ra_db/src/input.rs +++ b/crates/ra_db/src/input.rs | |||
@@ -132,7 +132,8 @@ impl CrateGraph { | |||
132 | } | 132 | } |
133 | 133 | ||
134 | 134 | ||
135 | mod test { | 135 | #[cfg(test)] |
136 | mod tests { | ||
136 | use super::{CrateGraph, FxHashMap, FileId, SmolStr}; | 137 | use super::{CrateGraph, FxHashMap, FileId, SmolStr}; |
137 | #[test] | 138 | #[test] |
138 | #[should_panic] | 139 | #[should_panic] |