Fix test in `server::config`

We're checking from a TOML `String` and not from a location
next
Sayan 4 years ago committed by GitHub
parent 59a2b42615
commit aeb5899050
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -170,7 +170,7 @@ fn test_config_toml_badport() {
port = 20033002
"#
.to_owned();
let cfg = ParsedConfig::new_from_file(file);
let cfg = ParsedConfig::new_from_toml_str(file);
assert!(cfg.is_err());
}

Loading…
Cancel
Save