diff --git a/tests/config.rs b/tests/config.rs index 3ce44852..3a37530a 100644 --- a/tests/config.rs +++ b/tests/config.rs @@ -273,7 +273,7 @@ fn output_option_use_config() { let testdata = copy_of_testdata("factorial"); write_config_file( &testdata, - &format!("output = \"{}\"\n", output_via_config.to_str().unwrap()), + &format!("output = \"{}\"\n", output_via_config.display()), ); assert!(