add cfg test
this adds cfg-test for test modules
This commit is contained in:
parent
cdea9eba8c
commit
5baf86d975
2 changed files with 2 additions and 0 deletions
|
|
@ -122,6 +122,7 @@ impl TunInterface {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use super::*;
|
||||
use std::net::Ipv4Addr;
|
||||
|
|
|
|||
|
|
@ -120,6 +120,7 @@ impl TunInterface {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use super::TunInterface;
|
||||
use std::net::Ipv4Addr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue