Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shivamka1 committed Aug 2, 2024
1 parent 4529e15 commit 001c40a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions raphtory-graphql/src/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -735,12 +735,14 @@ mod data_tests {

assert_eq!(get_maybe_relative_path(work_dir, g0_path), None);
assert_eq!(get_maybe_relative_path(work_dir, g1_path), None);
let expected = Path::new("shivam/investigations/2024-12-22");
let expected = Path::new("shivam")
.join("investigations")
.join("2024-12-22");
assert_eq!(
get_maybe_relative_path(work_dir, g2_path),
Some(expected.display().to_string())
);
let expected = Path::new("shivam/investigations");
let expected = Path::new("shivam").join("investigations");
assert_eq!(
get_maybe_relative_path(work_dir, g3_path),
Some(expected.display().to_string())
Expand Down

0 comments on commit 001c40a

Please sign in to comment.