diff --git a/lychee-lib/src/utils/request.rs b/lychee-lib/src/utils/request.rs index d367fb4d1b..bea875a6bd 100644 --- a/lychee-lib/src/utils/request.rs +++ b/lychee-lib/src/utils/request.rs @@ -426,10 +426,12 @@ mod tests { let uris = vec![RawUri::from("#fragment")]; let requests = create(uris, &source, &root_path, &base, &None); + println!("{:?}", requests); + assert_eq!(requests.len(), 1); assert!(requests .iter() - .any(|r| r.uri.url.as_str() == "file:///some/page.html#fragment")); + .any(|r| r.uri.url.as_str() == "https://example.com/path/page.html#fragment")); } #[test]