Fix test.
This commit is contained in:
parent
8a67455f73
commit
a85b4a2905
1 changed files with 1 additions and 1 deletions
|
@ -492,7 +492,7 @@ block:
|
||||||
ctx.font = "tests/fonts/Roboto-Regular_1.ttf"
|
ctx.font = "tests/fonts/Roboto-Regular_1.ttf"
|
||||||
|
|
||||||
let metrics = ctx.measureText("Hello world")
|
let metrics = ctx.measureText("Hello world")
|
||||||
doAssert metrics.width == 61
|
doAssert metrics.width == 60
|
||||||
|
|
||||||
block:
|
block:
|
||||||
let
|
let
|
||||||
|
|
Loading…
Reference in a new issue