[librsvg/rustify-rsvg-convert] Fix the export_id test geometry now that we use render_element



commit 18d5a29c8c36e3b40b70590793fb7a5f9624799e
Author: Federico Mena Quintero <federico gnome org>
Date:   Tue Feb 2 19:15:36 2021 -0600

    Fix the export_id test geometry now that we use render_element
    
    This one should be unambiguous; the whole document is specified in
    pixel units, and --export-id works on untransformed elements now.

 tests/src/cmdline/rsvg_convert.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/src/cmdline/rsvg_convert.rs b/tests/src/cmdline/rsvg_convert.rs
index 6ebcae16..566dbdd7 100644
--- a/tests/src/cmdline/rsvg_convert.rs
+++ b/tests/src/cmdline/rsvg_convert.rs
@@ -599,7 +599,7 @@ fn export_id_option() {
         .arg("--export-id=foo")
         .assert()
         .success()
-        .stdout(file::is_png().with_size(127, 127));
+        .stdout(file::is_png().with_size(40, 50));
 }
 
 #[test]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]