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

Need an equivalent of and for multiple assertions on a chained property #117

Closed
robfletcher opened this issue Oct 1, 2018 · 1 comment
Closed
Labels
🦄 enhancement New feature or request
Milestone

Comments

@robfletcher
Copy link
Owner

robfletcher commented Oct 1, 2018

If you want to group assertions on a chained subject the only choice is to use and but it's not very grammatical:

expectThat(foo).get { bar } and {
  get { baz }.isEqualTo("fnord")
  get { qux }.isEqualTo("fnord")
}
@robfletcher robfletcher added the 🦄 enhancement New feature or request label Oct 1, 2018
@robfletcher robfletcher added this to the v1.0 milestone Oct 1, 2018
@robfletcher
Copy link
Owner Author

Fixed in 9ba16ff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🦄 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant