Skip to content

Commit

Permalink
fix: 修复失效的断言
Browse files Browse the repository at this point in the history
  • Loading branch information
Cnotech committed Jul 30, 2024
1 parent 1fe9640 commit f7bc65c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/download.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,5 @@ pub fn fill_url_template(
fn test_download_nep() {
let url = crate::utils::test::_run_mirror_mock_server();
let path = download_nep(&format!("{url}/api/hello")).unwrap();
assert!(path.exists() && path.metadata().unwrap().len() == 350);
assert!(path.exists() && path.metadata().unwrap().len() > 300);
}

0 comments on commit f7bc65c

Please sign in to comment.