From 463ba50d2bdf743d3a3d24b4cb6a993a14a085cb Mon Sep 17 00:00:00 2001 From: Daniel Thompson Date: Thu, 4 Feb 2021 22:07:26 +0000 Subject: [PATCH] apps: testapp: Ensure we test centred strings Signed-off-by: Daniel Thompson --- wasp/apps/testapp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wasp/apps/testapp.py b/wasp/apps/testapp.py index 5e4832f..63fbf93 100644 --- a/wasp/apps/testapp.py +++ b/wasp/apps/testapp.py @@ -172,8 +172,8 @@ class TestApp(): draw.string("The quick brown", 12, 24+24) draw.string("fox jumped over", 12, 24+48) draw.string("the lazy dog.", 12, 24+72) - draw.string("0123456789", 12, 24+120) - draw.string('!"£$%^&*()', 12, 24+144) + draw.string("0123456789", 12, 24+120, width=228) + draw.string('!"£$%^&*()', 12, 24+144, width=228) elapsed = t.time() t.stop() del t