Skip to content

Commit

Permalink
fix: test error
Browse files Browse the repository at this point in the history
  • Loading branch information
luhc228 committed Jun 1, 2024
1 parent d3d20d0 commit 7fc8873
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/installation/macos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ mod test_install_fn {
install(filtered_tools_installation_detail).await?;
check_path_existence("/Applications/Google Chrome.app")?;
check_path_existence("/Applications/Visual Studio Code.app")?;
check_script_existence("which nvm")?;
check_script_existence("which fnm")?;
check_script_existence("which node")?;

Ok(())
Expand Down
4 changes: 2 additions & 2 deletions src/installation/toolkit_manifest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ mod test_get_tookits_manifest {
#[tokio::test]
async fn test_with_local_file() -> Result<()> {
let toolkits_manifest = get_tookits_manifest("./toolkits.manifest.json").await?;
assert!(toolkits_manifest.tools.len() == 3);
assert!(toolkits_manifest.tools.len() == 4);
Ok(())
}

Expand All @@ -73,7 +73,7 @@ mod test_get_tookits_manifest {
"https://raw.githubusercontent.com/apptools-lab/AppToolkit/feat/cli/toolkits.manifest.json",
)
.await?;
assert!(toolkits_manifest.tools.len() == 3);
assert!(toolkits_manifest.tools.len() == 4);
Ok(())
}
}

0 comments on commit 7fc8873

Please sign in to comment.