Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include actual size for hasSize #17

Closed
robstoll opened this issue Mar 29, 2018 · 0 comments
Closed

Include actual size for hasSize #17

robstoll opened this issue Mar 29, 2018 · 0 comments

Comments

@robstoll
Copy link
Owner

Affected Version: 0.6.0

How to reproduce the problem

Consider the following code snippet

assert(0..100).hasSize(40)

It is very cumbersome if we do not see what the actual size is but have to count it by ourself.

robstoll added a commit that referenced this issue Jul 16, 2018
- adopt corresponding spec for Collection and Map
- remove DescriptionCollectionAssertion.HAS_SIZE
- introduce DescriptionMapAssertion (should have been done earlier)
- adopt bc-test => forgiving test; hasSize uses subject now and does no
  longer include `has size` but `-> size`
- fixes #17
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

No branches or pull requests

1 participant