Skip to content
Snippets Groups Projects
Unverified Commit 5b37e1e9 authored by Nikos Kontakis's avatar Nikos Kontakis
Browse files

Add test for get_node_ip

parent d9a18e6a
Branches
No related merge requests found
......@@ -142,4 +142,12 @@ mod tests {
}
);
}
#[test]
fn test_get_node_ip() {
let native_provider =
NativeProvider::new("something", "./", "./tmp", MockFilesystem::new());
assert_eq!(native_provider.get_node_ip().unwrap(), LOCALHOST);
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment