[librsvg/wip/euclid] Fix test
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/wip/euclid] Fix test
- Date: Wed, 27 Nov 2019 14:33:17 +0000 (UTC)
commit 72d93a112c5bd831f29466a45c3e0e68d9c6f0aa
Author: Paolo Borelli <pborelli gnome org>
Date: Wed Nov 27 15:33:16 2019 +0100
Fix test
rsvg_internals/src/transform.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rsvg_internals/src/transform.rs b/rsvg_internals/src/transform.rs
index 55334b87..f3e90cf2 100644
--- a/rsvg_internals/src/transform.rs
+++ b/rsvg_internals/src/transform.rs
@@ -331,7 +331,7 @@ mod tests {
assert_eq!(tr, r);
let t = cairo::Matrix::new(2.0, 0.0, 0.0, 2.0, 1.5, 1.5);
- let tr = r.transform(&m);
+ let tr = r.transform(&t);
assert_approx_eq_cairo!(2.34_f64, tr.x);
assert_approx_eq_cairo!(2.34_f64, tr.y);
assert_approx_eq_cairo!(6.28_f64, tr.width);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]