aboutsummaryrefslogtreecommitdiffstats
path: root/test/e2e/just_hlt
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2024-02-25 20:08:32 +0200
committerJan Tuomi <jans.tuomi@gmail.com>2024-02-25 20:08:32 +0200
commit5776a07e6a3def343996c5ec83cd69242f7ea23a (patch)
treedfe91cff071a60be9fd9fc674625b8b462e06f27 /test/e2e/just_hlt
parent3ac72608e8fc708277137fde62193c8763268ff5 (diff)
Add tests, fix bugs
Diffstat (limited to 'test/e2e/just_hlt')
-rw-r--r--test/e2e/just_hlt/test_just_hlt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/just_hlt/test_just_hlt.py b/test/e2e/just_hlt/test_just_hlt.py
index 60c59b0..c037615 100644
--- a/test/e2e/just_hlt/test_just_hlt.py
+++ b/test/e2e/just_hlt/test_just_hlt.py
@@ -8,7 +8,7 @@ def test_just_hlt():
source = f.read()
obj = assemble(source, filename)
- rom_image = pad_bytearray(obj)
+ rom_image = pad_bytearray(obj.program)
machine = Machine()
machine.load_rom_image(rom_image)