Fix test case addidion when no other test cases exist
This commit is contained in:
parent
eb9f84f450
commit
68a68ac0da
1 changed files with 4 additions and 1 deletions
5
aoc
5
aoc
|
@ -270,7 +270,10 @@ class CLI(object):
|
|||
except FileNotFoundError:
|
||||
pass
|
||||
|
||||
existing_tests[str(part)].append(
|
||||
if (sp := str(part)) not in existing_tests:
|
||||
existing_tests[sp] = []
|
||||
|
||||
existing_tests[sp].append(
|
||||
{
|
||||
"is": output,
|
||||
"input": sys.stdin.read(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue