From 5776a07e6a3def343996c5ec83cd69242f7ea23a Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sun, 25 Feb 2024 20:08:32 +0200 Subject: Add tests, fix bugs --- test/e2e/just_hlt/test_just_hlt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/e2e/just_hlt') 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) -- cgit v1.3