diff --git a/src/util.rs b/src/util.rs index 71fcaa45848e154bd6407540f221dacdbb6257c3..9d6e70211c113a0ca81d7e0aad0cd7bfa80a76ea 100644 --- a/src/util.rs +++ b/src/util.rs @@ -120,7 +120,7 @@ pub mod tests { .expect("temporary directory creation failed"); // catch test panics in order to clean up temp dir which will be very large - f(tmp_dir.path()).expect("Error executing test with tmp dir") + f(&tmp_dir.path().canonicalize().unwrap()).expect("Error executing test with tmp dir") } /// Global counter to generate unique contract names in `with_new_contract_project`.