From 7d5c0e337d05c0f1959392a12a8373ddd7fc91c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Thei=C3=9Fen?= Date: Mon, 19 Jul 2021 19:28:16 +0200 Subject: [PATCH] Fix path comparison on macOS --- src/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.rs b/src/util.rs index 71fcaa45..9d6e7021 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`. -- GitLab