You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm gathering input before I decide to make an issue and potential fix for the isEmpty assertion method. In most of the use cases I can come up with, strings that have only white space in them are basically empty. So that brings me to my question, would it be wise to change the isEmpty method so that strings with only white space in them are empty?
Should the `isEmpty` assert be changed so strings count as empty if there's only white space in them?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm gathering input before I decide to make an issue and potential fix for the
isEmpty
assertion method. In most of the use cases I can come up with, strings that have only white space in them are basically empty. So that brings me to my question, would it be wise to change theisEmpty
method so that strings with only white space in them are empty?1 vote ·
Beta Was this translation helpful? Give feedback.
All reactions