diff --git a/test/test_jsx.re b/test/test_jsx.re
index 297292bac..2f1bca2e1 100644
--- a/test/test_jsx.re
+++ b/test/test_jsx.re
@@ -334,12 +334,12 @@ let svg = (
(
"fill_opacity float, circle",
[],
- [circle(~a=[a_cx (1., None); a_cy (2., None); a_r (3., None); a_fill_opacity 0.5], [])],
+ [circle(~a=[a_cx((1., None)), a_cy((2., None)), a_r((3., None)), a_fill_opacity(0.5)], [])],
),
(
"fill_opacity percentage, rect",
[],
- [rect(~a=[a_cx (1., None); a_cy (2., None); a_width (3., None); a_height (4., None); a_fill_opacity 0.5], [])],
+ [rect(~a=[a_cx((1., None)), a_cy((2., None)), a_width((3., None)), a_height((4., None)), a_fill_opacity(0.5)], [])],
),
(
"fill_rule nonzero",
diff --git a/test/test_ppx.ml b/test/test_ppx.ml
index 58251b95c..254fefdfd 100644
--- a/test/test_ppx.ml
+++ b/test/test_ppx.ml
@@ -422,7 +422,7 @@ let svg = "svg", SvgTests.make Svg.[
"fill_opacity percentage, rect",
[[%svg ""]],
- [rect ~a:[a_cx (1., None); a_cy (2., None); a_width (3., None); a_height (4., None); a_fill_opacity 0.5] []] ;
+ [rect ~a:[a_x (1., None); a_y (2., None); a_width (3., None); a_height (4., None); a_fill_opacity 0.5] []] ;
"fill_rule type nonzero",
[[%svg ""]],