Skip to content

Commit

Permalink
Fix test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobzol committed Aug 10, 2023
1 parent d3dc556 commit f4417c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::utils::{cargo_remark, init_cargo_project, OutputExt};
use cargo_remark::remark::{load_remarks_from_dir, Location, Remark, RemarkLoadOptions};
use std::path::Path;
use std::path::{Path, PathBuf};

const INLINE_NEVER_SOURCE: &str = r#"
#[inline(never)]
Expand Down Expand Up @@ -50,7 +50,7 @@ fn test_generate_remarks() -> anyhow::Result<()> {
assert_eq!(
remark.function.location,
Some(Location {
file: "src/main.rs".to_string(),
file: PathBuf::from("src/main.rs").display().to_string(),
line: 6,
column: 5
})
Expand Down

0 comments on commit f4417c0

Please sign in to comment.