Fix running when no test cases exist for a part
This commit is contained in:
parent
4d756162c5
commit
f27aeed14f
1 changed files with 1 additions and 1 deletions
2
aoc
2
aoc
|
@ -239,7 +239,7 @@ class CLI(object):
|
|||
for part in ["1", "2"]:
|
||||
if select_part and select_part != part:
|
||||
continue
|
||||
for i, spec in enumerate(test_specs[part]):
|
||||
for i, spec in enumerate(test_specs.get(part, [])):
|
||||
run_part(cmd + [part], f"Test {part}.{i+1}", spec)
|
||||
|
||||
if no_test or not test_only:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue