add #[cfg(test)]
This commit is contained in:
@@ -132,7 +132,8 @@ impl CrateGraph {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
mod test {
|
#[cfg(test)]
|
||||||
|
mod tests {
|
||||||
use super::{CrateGraph, FxHashMap, FileId, SmolStr};
|
use super::{CrateGraph, FxHashMap, FileId, SmolStr};
|
||||||
#[test]
|
#[test]
|
||||||
#[should_panic]
|
#[should_panic]
|
||||||
|
|||||||
Reference in New Issue
Block a user