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
Based on the name, I would expect Expect.isNotEmpty to fail only if the string is the empty string, "". I would expect it to pass if the string is non-empty and contains only whitespace, e.g. " ". However, it fails for whitespace strings. This should be documented in the doc comments.
Ideally I'd want the behavior changed, though that would be a breaking change.
The text was updated successfully, but these errors were encountered:
ratsclub
added a commit
to ratsclub/expecto
that referenced
this issue
Apr 20, 2023
Based on the name, I would expect
Expect.isNotEmpty
to fail only if the string is the empty string,""
. I would expect it to pass if the string is non-empty and contains only whitespace, e.g." "
. However, it fails for whitespace strings. This should be documented in the doc comments.Ideally I'd want the behavior changed, though that would be a breaking change.
The text was updated successfully, but these errors were encountered: