Skip to content

Commit

Permalink
Fix Windows path on CI (hopefully)
Browse files Browse the repository at this point in the history
  • Loading branch information
hbierlee committed Jan 13, 2025
1 parent d56996f commit aaf8af5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions crates/pindakaas/src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,10 +253,8 @@ pub(crate) mod tests {
#[cfg(test)]
macro_rules! expect_file {
($rel_path:expr) => {
expect_test::expect_file!(format!(
"{}/corpus/{}",
env!("CARGO_MANIFEST_DIR"),
$rel_path
expect_test::expect_file!(std::path::PathBuf::from(
format!("{}/corpus/{}", env!("CARGO_MANIFEST_DIR"), $rel_path).to_string()
))
};
}
Expand Down

0 comments on commit aaf8af5

Please sign in to comment.