Skip to content

Conversation

gaggle
Copy link
Owner

@gaggle gaggle commented Aug 4, 2016

I usually don't program defensively, but if we wanted to test for bad input data what would be the expected behaviour of this flatten function? This PR just asserts that the function throws, which feels a bit cheeky because its not well-defined behaviour IMO. Strikes me as overkill to do explicit exceptions, but would be happy to be persuaded.

@coveralls
Copy link

coveralls commented Aug 4, 2016

Coverage Status

Coverage remained the same at 100.0% when pulling 22c223d on check-bad-input into b1cc9c3 on master.

@gaggle gaggle closed this Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants