Skip to content

Commit e71f853

Browse files
committed
Fixing the tests.
1 parent 7870dc4 commit e71f853

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/test_jsx.re

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,12 +334,12 @@ let svg = (
334334
(
335335
"fill_opacity float, circle",
336336
[<circle cx=1 cy=2 r=3 fill_opacity=0.5 />],
337-
[circle(~a=[a_cx (1., None); a_cy (2., None); a_r (3., None); a_fill_opacity 0.5], [])],
337+
[circle(~a=[a_cx((1., None)), a_cy((2., None)), a_r((3., None)), a_fill_opacity(0.5)], [])],
338338
),
339339
(
340340
"fill_opacity percentage, rect",
341341
[<rect x=1 y='2' width=3 height='4' fill_opacity='50%' />],
342-
[rect(~a=[a_cx (1., None); a_cy (2., None); a_width (3., None); a_height (4., None); a_fill_opacity 0.5], [])],
342+
[rect(~a=[a_cx((1., None)), a_cy((2., None)), a_width((3., None)), a_height((4., None)), a_fill_opacity(0.5)], [])],
343343
),
344344
(
345345
"fill_rule nonzero",

test/test_ppx.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ let svg = "svg", SvgTests.make Svg.[
422422

423423
"fill_opacity percentage, rect",
424424
[[%svg "<rect x=1 y='2' width=3 height='4' fill-opacity='50%' />"]],
425-
[rect ~a:[a_cx (1., None); a_cy (2., None); a_width (3., None); a_height (4., None); a_fill_opacity 0.5] []] ;
425+
[rect ~a:[a_x (1., None); a_y (2., None); a_width (3., None); a_height (4., None); a_fill_opacity 0.5] []] ;
426426

427427
"fill_rule type nonzero",
428428
[[%svg "<path fill-rule='nonzero'/>"]],

0 commit comments

Comments
 (0)