chore: Fix broken test on Windows (#10900)

This commit is contained in:
David Sherret 2021-06-10 12:35:38 -04:00 committed by GitHub
parent 26a97a1f3b
commit 9d706d71b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View file

@ -76,7 +76,10 @@ lazy_static! {
}
pub fn root_path() -> PathBuf {
PathBuf::from(concat!(env!("CARGO_MANIFEST_DIR"), "/.."))
PathBuf::from(concat!(env!("CARGO_MANIFEST_DIR")))
.parent()
.unwrap()
.to_path_buf()
}
pub fn prebuilt_path() -> PathBuf {