diff --git a/src/conf.rs b/src/conf.rs index 9bb13b1..4dc46e8 100644 --- a/src/conf.rs +++ b/src/conf.rs @@ -106,14 +106,14 @@ mod tests { fn test_set_all_values() { let mut conf = Conf::get_default_conf(); let tf = write_conf_to_temp_file(r#" -job_dir = /value +job_dir = /val=ue output_dir=/var/lib/output check_interval=3600 driver_url = https://example.test:6666 "#); let f = tf.path().to_str().unwrap(); conf.update_from_file(f); - assert!(String::from_str("/value").unwrap().eq(&conf.job_dir)); + assert!(String::from_str("/val=ue").unwrap().eq(&conf.job_dir)); assert!(String::from_str("/var/lib/output").unwrap().eq(&conf.output_dir)); assert!(String::from_str("https://example.test:6666").unwrap().eq(&conf.driver_url)); assert_eq!(3600, conf.check_interval.as_secs());