Skip to content

Commit

Permalink
Fix path comparison on macOS (use-ink#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
athei authored Jul 20, 2021
1 parent 5f3a7a7 commit 373c503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 373c503

Please sign in to comment.