summaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/micropython/heapalloc_int_from_bytes.py1
-rw-r--r--tests/micropython/heapalloc_int_from_bytes.py.exp1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/micropython/heapalloc_int_from_bytes.py b/tests/micropython/heapalloc_int_from_bytes.py
index f8afd2280a..5fe50443ae 100644
--- a/tests/micropython/heapalloc_int_from_bytes.py
+++ b/tests/micropython/heapalloc_int_from_bytes.py
@@ -5,4 +5,5 @@ import micropython
micropython.heap_lock()
print(int.from_bytes(b"1", "little"))
print(int.from_bytes(b"12", "little"))
+print(int.from_bytes(b"2\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "little"))
micropython.heap_unlock()
diff --git a/tests/micropython/heapalloc_int_from_bytes.py.exp b/tests/micropython/heapalloc_int_from_bytes.py.exp
index 7ceb19a384..5ac6a573fe 100644
--- a/tests/micropython/heapalloc_int_from_bytes.py.exp
+++ b/tests/micropython/heapalloc_int_from_bytes.py.exp
@@ -1,2 +1,3 @@
49
12849
+50