fix testcase

This commit is contained in:
Yan Ka, Chiu
2023-07-09 09:05:56 -04:00
parent 40ec3c6a53
commit cd1f646e4d

View File

@@ -279,7 +279,6 @@ impl Netpool {
}
}
}
#[cfg(test)]
mod tests {
use super::*;
@@ -288,6 +287,7 @@ mod tests {
fn test_assignment() -> rusqlite::Result<()> {
let network = Network {
ext_if: None,
default_router: None,
alias_iface: "jeth0".to_string(),
bridge_iface: "jeth0".to_string(),
subnet: "192.168.2.0/24".parse().unwrap(),