[librsvg/rustify-rsvg-convert: 55/78] rsvg-convert: remove wrong testcase
- From: Sven Neumann <sneumann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/rustify-rsvg-convert: 55/78] rsvg-convert: remove wrong testcase
- Date: Wed, 3 Feb 2021 10:18:30 +0000 (UTC)
commit bd4e235ef5a70ed437d6967e991a637030ce79f7
Author: Paolo Borelli <pborelli gnome org>
Date: Sun Jan 17 12:45:19 2021 +0100
rsvg-convert: remove wrong testcase
The test was actually asserting a bug of the C version.
tests/src/cmdline/rsvg_convert.rs | 11 -----------
1 file changed, 11 deletions(-)
---
diff --git a/tests/src/cmdline/rsvg_convert.rs b/tests/src/cmdline/rsvg_convert.rs
index 640f6970..2315ecb8 100644
--- a/tests/src/cmdline/rsvg_convert.rs
+++ b/tests/src/cmdline/rsvg_convert.rs
@@ -334,17 +334,6 @@ fn zoom_factor() {
.stdout(file::is_png().with_size(160, 80));
}
-// TODO: Is this a bug in rsvg-convert or the desired behavior ?
-#[test]
-fn zoom_factor_and_width_conflicts() {
- RsvgConvert::new_with_input("tests/fixtures/dimensions/521-with-viewbox.svg")
- .arg("--width=400")
- .arg("--zoom=1.5")
- .assert()
- .failure()
- .stderr(ends_with("Could not render file stdin").trim());
-}
-
#[test]
fn zoom_factor_and_larger_size() {
RsvgConvert::new_with_input("tests/fixtures/dimensions/521-with-viewbox.svg")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]