Skip to content

Handles empty titles for short titles#218

Merged
N1x0 merged 3 commits into
masterfrom
fix-short-title
Jun 28, 2021
Merged

Handles empty titles for short titles#218
N1x0 merged 3 commits into
masterfrom
fix-short-title

Conversation

@dalyIsaac

Copy link
Copy Markdown
Member

Current behaviour: Last raises InvalidOperationException when the Enumerable has length of 0.

Fixed behaviour: Last is only called when parts has a length > 0.

`Last` raises `InvalidOperationException` when the `Enumerable` has length of 0.
@josteink

Copy link
Copy Markdown
Member

If this area is causing errors, I think maybe we should try isolating it in a function which we can easily add unit-tests for?

@dalyIsaac

Copy link
Copy Markdown
Member Author

Good idea - I'll do that

@N1x0 N1x0 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@N1x0 N1x0 merged commit 95d4a6d into master Jun 28, 2021
@dalyIsaac dalyIsaac deleted the fix-short-title branch June 28, 2021 07:32
@dalyIsaac dalyIsaac added this to the 0.9.11 milestone Jun 29, 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.

3 participants