v0.1.3-pre.009-fix.001
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: crates/ksp-config-lib/unit_tests/composite.rs
|
||||
// version: 1
|
||||
// version: 2
|
||||
|
||||
const TEST_COMPOSITE_FILE_ID: &str = "cfg.composite.test";
|
||||
const TEST_COMPOSITE_FILENAME: &str = "examples/composite.example.json";
|
||||
@@ -239,9 +239,9 @@ fn fixture_roots(name: &str) -> FixtureRoots {
|
||||
|
||||
fn cleanup_fixture(fixture: &FixtureRoots) {
|
||||
let removal = std::fs::remove_dir_all(fixture.root.as_path());
|
||||
if let std::result::Result::Err(error) = removal {
|
||||
if error.kind() != std::io::ErrorKind::NotFound {
|
||||
eprintln!("unable to cleanup Config composite fixture {}: {error}", fixture.root.display());
|
||||
}
|
||||
if let std::result::Result::Err(error) = removal
|
||||
&& error.kind() != std::io::ErrorKind::NotFound
|
||||
{
|
||||
eprintln!("unable to cleanup Config composite fixture {}: {error}", fixture.root.display());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user