From a85b4a290545741f9a2bf2be434b5da557af57a9 Mon Sep 17 00:00:00 2001 From: treeform Date: Wed, 8 Sep 2021 17:46:12 -0700 Subject: [PATCH] Fix test. --- tests/test_contexts.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_contexts.nim b/tests/test_contexts.nim index c27aa99..b60042b 100644 --- a/tests/test_contexts.nim +++ b/tests/test_contexts.nim @@ -492,7 +492,7 @@ block: ctx.font = "tests/fonts/Roboto-Regular_1.ttf" let metrics = ctx.measureText("Hello world") - doAssert metrics.width == 61 + doAssert metrics.width == 60 block: let