Skip to content

Commit

Permalink
restore coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Aug 10, 2024
1 parent 7dfd89e commit 29bd9b1
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,20 @@
EOFException.ZERO_SECTION_SIZE,
id="EOF1I3540_0012",
),
pytest.param(
Container(
name="EOF1I3540_0014 (Invalid) Total of code sections incomplete",
raw_bytes="ef00010100040200",
),
EOFException.INCOMPLETE_SECTION_NUMBER,
),
pytest.param(
Container(
name="EOF1I3540_0016 (Invalid) Code section size incomplete",
raw_bytes="0xef000101000402000100",
),
EOFException.INCOMPLETE_SECTION_SIZE,
),
pytest.param(
# No data section after code section size
bytes.fromhex("ef00010100040200010001"),
Expand Down

0 comments on commit 29bd9b1

Please sign in to comment.