Skip to content

Commit

Permalink
Removing skewY from the test as it should be treated as a separate is…
Browse files Browse the repository at this point in the history
…sue.
  • Loading branch information
Mbodin committed Dec 5, 2023
1 parent dd2297a commit 3b51cb5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/test_jsx.re
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,8 @@ let svg = (
),
(
"transform with random spacing",
[<g transform="translate ( 200 , 200) rotate(1) matrix(-0,1,.1,.0,1e-5,1.E5) scale ( 1 , 0 ) skewY(-0.)"></g>],
[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 transform="translate ( 200 , 200) rotate(1) matrix(-0,1,.1,.0,1e-5,1.E5) scale ( -1. , 0 )"></g>],
[g(~a=[a_transform([`Translate((200., Some(200.))), `Rotate((1., None)), `Matrix((-0., 1, 0.1, 0., 1e-5, 1e5)), `Scale((-1., Some(0.)))])], [])],
),
],
),
Expand Down
4 changes: 2 additions & 2 deletions test/test_ppx.ml
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,8 @@ let svg = "svg", SvgTests.make Svg.[
[path ~a:[a_fill_rule `Evenodd] []] ;

"transform with random spacing",
[[%svg "<g transform='translate ( 200 , 200) rotate(1) matrix(-0,1,.1,.0,1e-5,1.E5) scale ( 1 , 0 ) skewY(-0.)'></g>"]],
[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 transform='translate ( 200 , 200) rotate(1) matrix(-0,1,.1,.0,1e-5,1.E5) scale ( -1. , 0 )'></g>"]],
[g ~a:[a_transform [`Translate (200., Some 200.); `Rotate (1., None); `Matrix (-0., 1, 0.1, 0., 1e-5, 1e5); `Scale (-1., Some 0.)]] []] ;

]

Expand Down

0 comments on commit 3b51cb5

Please sign in to comment.