Skip to content

Commit 05c2904

Browse files
committed
Format canvas test
1 parent 62543f2 commit 05c2904

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/DOMAPI/HTMLCanvasElement__test.res

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,10 @@ switch ctx.fillStyle->FillStyle.decode {
1919
}
2020

2121
let img: DOMAPI.htmlImageElement = document->Document.createElement("img")->Obj.magic
22-
ctx->CanvasRenderingContext2D.drawImageWithDimensions(~image=img, ~dx=0., ~dy=0., ~dw=200., ~dh=200.)
22+
ctx->CanvasRenderingContext2D.drawImageWithDimensions(
23+
~image=img,
24+
~dx=0.,
25+
~dy=0.,
26+
~dw=200.,
27+
~dh=200.,
28+
)

0 commit comments

Comments
 (0)