diff --git a/src/utils/download.rs b/src/utils/download.rs index fe2a9da4..f49712cb 100644 --- a/src/utils/download.rs +++ b/src/utils/download.rs @@ -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); }