Apply suggestions from code review

Co-authored-by: Zanie Blue <contact@zanie.dev>
This commit is contained in:
William Woodruff
2026-04-30 15:20:06 -04:00
committed by GitHub
parent ed6958f666
commit 45ff3de5c7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ use uv_pep440::Version;
use uv_redacted::{DisplaySafeUrl, DisplaySafeUrlError};
pub static API_BASE: LazyLock<DisplaySafeUrl> = LazyLock::new(|| {
DisplaySafeUrl::parse("https://api.osv.dev/").expect("impossible: embedded URL is invalid")
DisplaySafeUrl::parse("https://api.osv.dev/").expect("embedded OSV URL is a valid URL")
});
/// Errors during OSV service interactions.
+1 -1
View File
@@ -16466,7 +16466,7 @@ async fn sync_malware_check_disabled() {
");
}
/// Ensure that a network error during the malware check does not fail the sync.
/// Ensure that a network error during the malware check fails the sync.
#[tokio::test]
async fn sync_malware_check_network_error() {
let context = uv_test::test_context!("3.12");