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

robfletcher opened this issue Oct 1, 2018 · 1 comment


Copy link

@robfletcher 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 this to the v1.0 milestone Oct 1, 2018
@robfletcher robfletcher added this to To do in Release 1.0 via automation Oct 1, 2018

This comment has been minimized.

Copy link
Owner Author

@robfletcher robfletcher commented Dec 1, 2019

Fixed in 9ba16ff

@robfletcher robfletcher closed this Dec 1, 2019
Release 1.0 automation moved this from To do to Done Dec 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Release 1.0
1 participant
You can’t perform that action at this time.