Skip to content

Commit 1f4b3ff

Browse files
author
Zhang Xiaoye
committed
extmod/framebuf: Fix test fail of framebuf1.
Signed-off-by: Eluli Zhang <elulis@gmail.com>
1 parent ff20d4b commit 1f4b3ff

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/extmod/framebuf1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@
8989

9090
# print text
9191
fbuf.fill(0)
92-
fbuf.text("hello", 0, 0, 1)
92+
fbuf.text("test", 0, 0, 1)
9393
print(buf)
94-
fbuf.text("hello", 0, 0, 0) # clear
94+
fbuf.text("test", 0, 0, 0) # clear
9595
print(buf)
9696

9797
# print fonts

tests/extmod/framebuf1.py.exp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ bytearray(b'\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
1616
bytearray(b'\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
1717
bytearray(b'\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
1818
bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00')
19-
bytearray(b'\x7f\x7f\x04\x04\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
19+
bytearray(b'\x04\x04?\x7fD\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
2020
bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
2121
5
2222
bytearray(b'\x00\x00}\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
@@ -46,7 +46,7 @@ bytearray(b'\x00\x00\x00\x00\x00\x00 \x00\x00\x00\x00\x00\x00\x00\x00\x00')
4646
bytearray(b'\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00')
4747
bytearray(b'\x00\x00\x00\x00\x00\x00 \x00\x00\x00\x00\x00\x00\x00\x00\x00')
4848
bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00')
49-
bytearray(b'\xc0\xc0\xf8\xc0\xc0\xc0\xc0\x00\x00\x00\x00\x00\x00\x00\x00\x00')
49+
bytearray(b'00\xf8000\x18\x00\x00\x00\x00\x00\x00\x00\x00\x00')
5050
bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
5151
5
5252
bytearray(b' \x00 \x00\x00\x00\x00\x00\x00\x00\x00\x00')
@@ -76,7 +76,7 @@ bytearray(b'\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00')
7676
bytearray(b'\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00')
7777
bytearray(b'\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00')
7878
bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00')
79-
bytearray(b'\x03\x03\x1f\x03\x03\x03\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00')
79+
bytearray(b'\x0c\x0c\x1f\x0c\x0c\x0c\x18\x00\x00\x00\x00\x00\x00\x00\x00\x00')
8080
bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
8181
5
8282
bytearray(b'\x04\x00\x04\x04\x04\x04\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00')

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy