You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mongo-rust-driver/tests/uri.rs

11 lines
215 B
Rust

use mongo_driver::Uri;
#[cfg(test)]
mod tests {
#[test]
fn test_new_uri() {
let uri = Uri::new("mongodb://localhost:27017/");
assert_eq!("mongodb://localhost:27017/", uri.as_str());
}
}