1
0
mirror of https://github.com/NLnetLabs/routinator.git synced 2024-05-19 06:50:04 +00:00

Try fix test also on Windows.

This commit is contained in:
Martin Hoffmann
2024-05-17 15:46:29 +02:00
parent e25db0b9ed
commit 0d5dde219f

View File

@ -2720,9 +2720,10 @@ mod test {
#[test]
fn read_your_own_config() {
let out_config = get_default_config();
let out_path = out_config.config_file.clone();
let out_file = out_config.to_string();
let in_file = ConfigFile::parse(
&out_file, Path::new("/home/test/.routinator.conf")
&out_file, &out_path
).unwrap();
let in_config = Config::from_config_file(in_file).unwrap();
assert_eq!(out_config, in_config);