Skip to content

Commit 9a613a6

Browse files
committed
changed svg url, as HTTP 429 is received on windows
1 parent 3adab3c commit 9a613a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/generator.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ mod tests {
568568
#[test]
569569
fn test_render_remote_assets_in_sub_chapter() {
570570
init_logging();
571-
let link = "https://www.svgrepo.com/show/327768/finger-print.svg";
571+
let link = "https://upload.wikimedia.org/wikipedia/commons/4/4e/Open_Source_Initiative_keyhole.svg";
572572
let tmp_dir = TempDir::new().unwrap();
573573
let dest_dir = tmp_dir.path().join("mdbook-epub");
574574
let ch1_1 = json!({
@@ -613,7 +613,7 @@ mod tests {
613613
assert_eq!(g.assets.len(), 1);
614614

615615
let pat = |heading, prefix| {
616-
format!("<h1>{heading}</h1>\n<p><img src=\"{prefix}78d88324ed4ac3bf.svg\"")
616+
format!("<h1>{heading}</h1>\n<p><img src=\"{prefix}e3825a3756080f55.svg\"")
617617
};
618618
if let BookItem::Chapter(ref ch) = ctx.book.sections[0] {
619619
let rendered: String = g.render_chapter(ch).unwrap();

0 commit comments

Comments
 (0)