1
0
mirror of https://github.com/bspeice/aeron-rs synced 2025-07-05 07:44:51 -04:00

More temporary directory fixes

This commit is contained in:
2019-10-07 07:34:00 -04:00
parent 1a3d67f02c
commit 2b8e32abb7
2 changed files with 4 additions and 3 deletions

View File

@ -87,9 +87,8 @@ mod tests {
fn read_cnc_version() {
let temp_dir = tempdir().unwrap();
let dir = temp_dir.path().to_path_buf();
temp_dir.close();
temp_dir.close().unwrap();
let dir = tempdir().unwrap().into_path();
let _driver = DriverContext::default()
.set_aeron_dir(&dir)
.build()