Skip to content

Commit

Permalink
test cases fix
Browse files Browse the repository at this point in the history
Signed-off-by: Abhishek Kumar <[email protected]>
  • Loading branch information
octonawish-akcodes committed Feb 21, 2024
1 parent a687b2c commit f59a206
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions kclvm/driver/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -411,16 +411,13 @@ fn test_fetch_mod_metadata() {
.join("kpm_update");

let update_mod = update_kcl_module(path.clone());
let metadata = fetch_metadata(path.clone());
// Show more information when the test fails.
println!("{:?}", update_mod);
assert!(!update_mod.is_err());
let pkgs = metadata.unwrap().packages.clone();
assert_eq!(pkgs.len(), 1);
}

#[test]
fn test_update_module() {
test_fetch_mod_metadata();
println!("test_fetch_mod_metadata() passed");
println!("test_update_module() passed");
}

0 comments on commit f59a206

Please sign in to comment.