Test: every link of the unsafe-link test sits on the slide

The last links started below the 540 pt slide. They were still
exported, as zero-height annotations at the page edge, so the test
worked, but only because of that. With all 16 links on the slide the
test no longer depends on how off-page links are handled.
This commit is contained in:
oracola91
2026-10-24 13:27:00 +03:00
parent afb52aeef3
commit 274b626007
+1 -1
View File
@@ -159,7 +159,7 @@ fn unsafe_url_links_are_not_exported() {
.zip(safe.iter().chain(&refused))
.map(|(i, url)| Shape {
id: ShapeId(9000 + i),
xfrm: Some(Xfrm::new(20.0, 20.0 + 38.0 * f64::from(i), 400.0, 30.0)),
xfrm: Some(Xfrm::new(20.0, 20.0 + 32.0 * f64::from(i), 400.0, 26.0)),
click: Some(Hyperlink {
action: Action::Url { url: url.to_string() },
tooltip: String::new(),