Skip to content

Commit

Permalink
fix: fix win test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
zong-zhe committed Aug 3, 2023
1 parent 30810b0 commit f32783c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions kclvm/parser/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,10 @@ fn test_get_compile_entries_from_paths() {
assert_eq!(entries.get_nth_entry(2).unwrap().name(), "__main__");
assert_eq!(
PathBuf::from(entries.get_nth_entry(2).unwrap().path())
.display()
.to_string(),
.canonicalize()
.unwrap()
.to_str()
.unwrap(),
kcl1_path.canonicalize().unwrap().to_str().unwrap()
);
}

0 comments on commit f32783c

Please sign in to comment.