Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Setting a title of '0' will cause an exception to be thrown #68

Merged
merged 4 commits into from
May 14, 2018

Conversation

chrisdeeming
Copy link
Contributor

@chrisdeeming chrisdeeming commented Mar 20, 2018

Currently if a string of '0' is provided as a title, an exception will be thrown.

This change will still reject strings that are truly empty, but now accept a string value of '0'.

This might feel a bit edge case, but we've seen it in production hence the PR.

@froschdesign
Copy link
Member

Please add unit tests for this use case. Thanks!

chrisdeeming and others added 4 commits May 14, 2018 15:06
…l be thrown. This change will still reject strings that are truly empty, but now accept a string value of '0'. This might feel a bit edge case, but we've seen it in production hence the PR.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants