Skip to content

Commit

Permalink
Doesn't the JSX parser accept single quotes?
Browse files Browse the repository at this point in the history
  • Loading branch information
Mbodin committed Nov 30, 2023
1 parent e71f853 commit 2394bf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_jsx.re
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ let svg = (
),
(
"fill_opacity percentage, rect",
[<rect x=1 y='2' width=3 height='4' fill_opacity='50%' />],
[<rect x=1 y="2" width=3 height="4" fill_opacity="50%" />],
[rect(~a=[a_cx((1., None)), a_cy((2., None)), a_width((3., None)), a_height((4., None)), a_fill_opacity(0.5)], [])],
),
(
Expand Down

0 comments on commit 2394bf2

Please sign in to comment.