summaryrefslogtreecommitdiff
path: root/wasp/apps/testapp.py
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2021-02-04 22:07:26 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2021-02-04 22:15:45 (GMT)
commit463ba50d2bdf743d3a3d24b4cb6a993a14a085cb (patch)
tree60fdf4274a46a1475665e17097d1b19b12196f1a /wasp/apps/testapp.py
parentc686e2cae08392e6c22a807ded6a22e306f55893 (diff)
apps: testapp: Ensure we test centred strings
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'wasp/apps/testapp.py')
-rw-r--r--wasp/apps/testapp.py4
1 files 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