diff --git a/test/test_jsx.re b/test/test_jsx.re
index b5c68f006..e1471285c 100644
--- a/test/test_jsx.re
+++ b/test/test_jsx.re
@@ -343,8 +343,8 @@ let svg = (
),
(
"transform with random spacing",
- [],
- [g(~a=[a_transform([`Translate((200., Some(200.))), `Rotate((1., None)), `Matrix((-0., 1, 0.1, 0., 1e-5, 1e5)), `Scale((1., Some(0.))), `SkewY(-0.)])], [])],
+ [],
+ [g(~a=[a_transform([`Translate((200., Some(200.))), `Matrix((-0., 1, 0.1, 0., 1e-5, 1e5)), `Scale((-1., Some(0.)))])], [])],
),
],
),
diff --git a/test/test_ppx.ml b/test/test_ppx.ml
index 0d45c154c..f1f77aaa2 100644
--- a/test/test_ppx.ml
+++ b/test/test_ppx.ml
@@ -425,8 +425,8 @@ let svg = "svg", SvgTests.make Svg.[
[path ~a:[a_fill_rule `Evenodd] []] ;
"transform with random spacing",
- [[%svg ""]],
- [g ~a:[a_transform [`Translate (200., Some 200.); `Rotate (1., None); `Matrix (-0., 1, 0.1, 0., 1e-5, 1e5); `Scale (1., Some 0.); `SkewY (-0.)]] []] ;
+ [[%svg ""]],
+ [g ~a:[a_transform [`Translate (200., Some 200.); `Matrix (-0., 1, 0.1, 0., 1e-5, 1e5); `Scale (-1., Some 0.)]] []] ;
]