Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: he1pa <[email protected]>
  • Loading branch information
He1pa committed Sep 12, 2024
1 parent c802872 commit ecf5618
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions kclvm/driver/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,19 @@ fn test_tool_fetch_metadata(tool: impl Toolchain) {
assert_eq!(pkgs.len(), 1);
assert!(pkgs.get("kcl4").is_some());
assert_eq!(pkgs.get("kcl4").unwrap().name, "kcl4");
if pkgs
.get("kcl4")
.unwrap()
.manifest_path
.clone()
.canonicalize()
.is_err()
{
panic!(
"{}",
format!("{:?}", pkgs.get("kcl4").unwrap().manifest_path)
)
}
assert_eq!(
pkgs.get("kcl4")
.unwrap()
Expand Down

0 comments on commit ecf5618

Please sign in to comment.