Skip to content

Commit

Permalink
day12: coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-ong committed Dec 27, 2023
1 parent 660087e commit 7f6a4af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion day12/day12.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def calculate_recursive(self, state: State) -> int:
result += self.calculate_recursive(dot_state)
return self.set_and_return(state, result)

return self.set_and_return(state, 0)
raise AssertionError("First char not in `.#?` and list not empty")


def get_input(path: str) -> list[SpringLine]:
Expand Down

0 comments on commit 7f6a4af

Please sign in to comment.